File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,24 @@ Author: Jonathan Hornung ([JohnnyTheTank](https://github.com/JohnnyTheTank))
44
55## Usage
66
7- 1 . Install via [ bower] ( http://bower.io/ ) :
7+ 1 . Install via either [ bower] ( http://bower.io/ ) , [ npm ] ( https://www.npmjs.com/ ) or downloaded files :
88 1 . ` bower install --save angular-github-api-factory `
9+ 2 . ` npm install --save angular-github-api-factory `
10+ 3 . download [ angular-github-api-factory.zip] ( https://github.com/JohnnyTheTank/angular-github-api-factory/zipball/master )
9112 . Add ` jtt_github ` to your application's module dependencies.
10123 . Include dependencies in your HTML.
1113 1 . When using bower:
12-
1314 ``` html
14- <script src =" bower_components/angular/angular.js" ></script >
15- <script src =" bower_components/angular-github-api-factory/src/angular-github-api-factory.js" ></script >
15+ <script src =" bower_components/angular-github-api-factory/src/angular-github-api-factory.min.js" ></script >
16+ ```
17+ 2. When using npm:
18+ ```html
19+ <script src =" node_modules/angular-github-api-factory/src/angular-github-api-factory.min.js" ></script >
20+ ```
21+ 3. when using downloaded files
22+ ```html
23+ <script src =" angular-github-api-factory.min.js" ></script >
1624 ```
17-
18254. Use the factory `githubFactory`
1926
2027
You can’t perform that action at this time.
0 commit comments