Top "Angular-ui-router" questions

UI-Router evolves the concept of an AngularJS Route into a more general concept of a State for managing complex application UI states.

Angular-ui-router: ui-sref-active and nested states

I am using angular-ui-router and nested states in my application, and I also have a navigation bar. The nav bar …

angularjs angular-ui-router
How to extract query parameters with ui-router for AngularJS?

How do I extract query parameters using ui-router for AngularJS? In AngularJS' own $location service I did: ($location.search()).uid …

javascript angularjs angular-ui query-parameters angular-ui-router
Angular ui-router - how to access parameters in nested, named view, passed from the parent template?

Hi I am trying to access a parameter in the controller "ViewWorklogCrtl" while using ui-router and running into difficulty. Basically, …

javascript angularjs nested angular-ui-router
How do I share $scope data between states in angularjs ui-router?

Without using a service or constructing watchers in the parent controller, how would one give children states access to the …

javascript angularjs angularjs-scope angular-ui-router
Redirect a state to default substate with UI-Router in AngularJS

I'm creating a tab based page which shows some data. I'm using UI-Router in AngularJs to register states. My aim …

javascript angularjs tabs angular-ui-router
Angularjs ui-router. How to redirect to login page

I have 4 states: dashboard, dahboard.main, dashboard.minor, login. dashboard is abstract and it is a parent state for .minor …

angularjs config state angular-ui-router resolve
Angular UI-Router multiple views

I am using angular UI-Router. I have the following in my route config .config(function config($stateProvider) { $stateProvider.state('newsFeedView', { …

angularjs angular-ui-router
Difference between $state.transitionTo() and $state.go() in Angular ui-router

In AngularJS, I see sometimes we use $state.transitionTo() and sometimes we use $state.go(). Can anyone tell me how …

javascript angularjs angular-ui-router url-routing angular-ui
Difference between ui-sref and $state.go in AngularJS UI-Router

Is there any functional difference between ui-sref and $state.go()? ui-sref is used in <a>...</a> …

angularjs angular-ui-router
angular UI router | $stateParams not working

seems like $stateParams is not working. passing date like this: $state.go('state2', { someParam : 'broken magic' }); params being ignored …

angularjs angular-ui-router