Skip to content

Commit eceb257

Browse files
committed
Updated the readme as Bower is less popular
1 parent cdce1cd commit eceb257

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,39 @@
1-
[![Build Status](https://travis-ci.org/harm-less/angular-sticky.svg?branch=master)](https://travis-ci.org/harm-less/angular-sticky)
1+
[![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)
22

33
# Angular UI Router CSS
44
[AngularJS UI Router (1.*)](https://github.com/angular-ui/ui-router) plugin to load route-specific, promised based CSS files
55

6-
If you want to use this plugin for UI Router 0.4.x or lower, I suggest to use the following plugin: [ng-ui-router-styles](https://github.com/betsol/ng-ui-router-styles).
6+
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).
77

88
# Demo
9-
Do you want to see directives in action? Visit [http://harm-less.github.io/angular-ui-router-css/#!/demo](http://harm-less.github.io/angular-ui-router-css/#!/demo)
9+
Do you want to see plugin in action?
10+
Visit [http://harm-less.github.io/angular-ui-router-css/#!/demo](http://harm-less.github.io/angular-ui-router-css/#!/demo)
1011

1112
# API
1213
A full API reference can be found [here](http://harm-less.github.io/angular-ui-router-css)
1314

1415
# Installation
15-
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:
16+
A more detailed installation guide can be found [here](http://harm-less.github.io/angular-ui-router-css).
17+
But below is a summary if you know your way around:
1618

17-
### Install with Bower (recommended)
18-
To install Angular Sticky with [Bower](http://bower.io/) use:
19+
### Install with [NPM](https://www.npmjs.com/) (recommended)
1920
```sh
20-
bower install angular-ui-router-css-plugin
21+
npm install angular-ui-router-css
2122
```
2223

23-
Or with [npm](https://www.npmjs.com/)
24+
### Or with [Bower](http://bower.io/)
2425
```sh
25-
npm install angular-ui-router-css
26+
bower install angular-ui-router-css-plugin
2627
```
2728

2829
### Manually
29-
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.
30+
Click [here](https://github.com/harm-less/angular-ui-router-css/archive/master.zip) to download the latest version of the plugin.
31+
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.
3032

3133
# Contributing to the project
3234
We are always looking for quality contributions!
3335

3436
There are several useful Grunt tasks you can run in order to use/change the project:
3537

36-
* ```serve```: Use to demo application in order to develop the scripts from the ```js``` folder.
37-
* ```build```: Build the files from the ```js``` folder to the ```dist``` folder
38+
* `serve`: Use to demo application in order to develop the scripts from the `js` folder.
39+
* `build`: Build the files from the `js` folder to the `dist` folder

demo/views/getting-started.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,17 @@ <h1>Getting started</h1>
3333
<hr>
3434

3535
<h2>Installation</h2>
36+
<h3>NPM (Recommended)</h3>
37+
<p>
38+
To install with <a href="https://www.npmjs.com/" target="_blank">NPM</a> use:
39+
</p>
40+
<pre>npm install angular-ui-router-css</pre>
3641

3742
<h3>Bower</h3>
3843
<p>
39-
To install Angular UI Router CSS with <a href="http://bower.io/" target="_blank">Bower</a> use:
44+
To install with <a href="http://bower.io/" target="_blank">Bower</a> use:
4045
</p>
4146
<pre>bower install angular-ui-router-css-plugin</pre>
42-
<p>
43-
Or with <a href="https://www.npmjs.com/" target="_blank">NPM</a>:
44-
<pre>npm install angular-ui-router-css</pre>
4547

4648
<h3>Manually</h3>
4749
<p>

0 commit comments

Comments
 (0)