Описание тега angular-ui-router
UI-Router evolves the concept of an AngularJS Route into a more general concept of a State for managing complex application UI states. Most notably, it allows nested state/view hierarchies and multiple named views.
UI-Router
UI-Router is a routing module created by the Angular-UI team that replaces the built-in $route/$routeProvider in Angular.
Its most notable advantage is that it uses states which, while similar to routes, allow you to describe your application as a collection of states. A state being comprised of optional parameters, such as a url, template, controller and resolved dependencies. States can be nested (parent/child relationship), multiple views can be used in a single state, and urls can be appended or absolute.
A question that would be a good candidate for using the ui-router
tag would:
- Pertain to a project that is:
- built on the AngularJS framework
- using or is migrating to UI-Router (over $routeProvider and ng-view)
- Not be easily answered by the UI-Router Github Wiki. Be sure to check the FAQ!
- Show all the various files related to the issue. State configurations, Controllers, Templates, other.