AngularJS UI Router (1.*) plugin to load route-specific, promised based CSS files
If you want to use this plugin for UI Router 0.4.x or lower, I suggest you use the following plugin: ng-ui-router-styles.
Do you want to see plugin in action? Visit http://harm-less.github.io/angular-ui-router-css/#!/demo
A full API reference can be found here
A more detailed installation guide can be found here. But below is a summary if you know your way around:
Install with NPM (recommended)
npm install angular-ui-router-css
Or with Bower
bower install angular-ui-router-css-plugin
Click here to download the latest version of the plugin.
In the dist
folder you'll find the minified and normal JavaScript file. Either one is fine to use, it just depends on your needs.
We are always looking for quality contributions!
There are several useful Grunt tasks you can run in order to use/change the project:
serve
: Use to demo application in order to develop the scripts from thejs
folder.build
: Build the files from thejs
folder to thedist
folder