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 scroll to top, not to ui-view

I've just upgraded to ui-router 0.2.8 from 0.2.0 and I've noticed that when the state changes, the scroll position jumps to the …

javascript angularjs angular-ui angular-ui-router
scope and controller instantiation with ui router

I am confused about when controllers get instantiated. Also, how do controllers gets instantiated when nesting states. I might be …

angularjs angularjs-scope angular-ui-router angularjs-routing
Dynamically add meta description based on route in Angular

I'm using Angular 5 to build a small brochure type website. Thus far, I have my routes set up, and the …

angular typescript angular-ui-router
Using ui-router with Bootstrap-ui modal

I know this has been covered many times and most articles refer to this bit of code: Modal window with …

angularjs angular-ui-router bootstrap-modal angular-bootstrap
In Angular ui-router nested state url changes,but template is not loading

I am using ui-router for nested states & views. When I click on the link, the URL changes to the …

javascript angularjs angular-ui-router
UI-Router - Change $state without rerender/reload of the page

I've been looking at these pages (1, 2, 3). I basically want to change my $state, but I don't want the page to …

angularjs angular-ui-router
"optional" params in AngularJS states/views with ui-router

I have a customer search view that, by default, simply loads a form for first and last name. It can, …

angularjs angular-ui-router
How to redirect to state if specific stateParam is empty

I'm not sure if the way I am doing it is correct, any advice would be appreciated. I have a …

angularjs angular-ui-router
UI-Router state.go call back on state change

I need a callback when state.go has been invoked successfully, and set my alert message. Currently the message is …

angularjs angular-ui-router
Handling error in ui-routers resolve function? (aka $stateChangeError) Passing data to error state?

Inside my Angular application I handle routes/states via ui-router. If everything works - it is great. But what is …

javascript angularjs angular-ui-router