An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/harm-less/angular-ui-router-css.svg?branch=master)](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