Full Website (description, API, demos): http://christopherthielen.github.io/ui-router-extras/
UI-Router is the defacto router for AngularJS.
UI-Router Extras adds 4 additional features to help you write large modular applications.
- Sticky State
- Deep State Redirect
- Future State
- Previous State
- required:
- "angular": "~1.2.0",
- "angular-ui-router": "~0.2.10"
- download the files
- Bower
- add
"ui-router-extras": "latest"to yourbower.jsonfile then runbower installOR runbower install ui-router-extras
- add
- Bower
- include the files in your app
ct-ui-router-extras.min.js
- include the module in angular (i.e. in
app.js) -ct.ui.router.extras
git checkout master- run
npm install && bower install - write your code then run
grunt - git commit your changes
- run
The Gruntfile.js default target generates the output files into a build/ directory. It runs all unit tests on the built file, as well as the minified file.