State-based routing with nested views for AngularJS apps
open sourceMITfree
UI-Router (AngularUI Router) is an MIT client-side routing framework for AngularJS single-page applications. It models the app as a hierarchical tree of states with nested views and manages transitions between them as a state machine, so the browser URL follows navigation and a deep link opens the right state. This repository is UI-Router 1.x for AngularJS, published as @uirouter/angularjs; the 0.x line lives on its legacy branch, and separate UI-Router packages exist for Angular and React.
Problems it solves
- nested views and routing in my AngularJS app
- deep links that open the right screen in an AngularJS single-page app
- model my AngularJS app's navigation as a tree of states
Features
- hierarchical states with nested views
- transactional state transitions managed as a state machine
- URLs that follow navigation, so deep links work
Limitations
- It's for AngularJS (Angular 1.x) only; Angular and React apps use separate UI-Router packages.1
