https://github.com/harm-less/angular-ui-router-css
UI Router (1.*) extension to load route-specific, promised based CSS files
https://github.com/harm-less/angular-ui-router-css
angular css promise router styles stylesheet ui
Last synced: 2 months ago
JSON representation
UI Router (1.*) extension to load route-specific, promised based CSS files
- Host: GitHub
- URL: https://github.com/harm-less/angular-ui-router-css
- Owner: harm-less
- Created: 2017-05-23T19:43:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-11T11:28:09.000Z (over 8 years ago)
- Last Synced: 2026-02-18T19:59:14.887Z (4 months ago)
- Topics: angular, css, promise, router, styles, stylesheet, ui
- Language: JavaScript
- Homepage: http://harm-less.github.io/angular-ui-router-css
- Size: 533 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/harm-less/angular-ui-router-css)
# Angular UI Router CSS
[AngularJS UI Router (1.*)](https://github.com/angular-ui/ui-router) 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](https://github.com/betsol/ng-ui-router-styles).
# Demo
Do you want to see plugin in action?
Visit [http://harm-less.github.io/angular-ui-router-css/#!/demo](http://harm-less.github.io/angular-ui-router-css/#!/demo)
# API
A full API reference can be found [here](http://harm-less.github.io/angular-ui-router-css)
# Installation
A more detailed installation guide can be found [here](http://harm-less.github.io/angular-ui-router-css).
But below is a summary if you know your way around:
### Install with [NPM](https://www.npmjs.com/) (recommended)
```sh
npm install angular-ui-router-css
```
### Or with [Bower](http://bower.io/)
```sh
bower install angular-ui-router-css-plugin
```
### Manually
Click [here](https://github.com/harm-less/angular-ui-router-css/archive/master.zip) 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.
# Contributing to the project
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 the `js` folder.
* `build`: Build the files from the `js` folder to the `dist` folder