File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,25 @@ 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-openweathermap-api-factory `
9+ 2 . ` npm install --save angular-openweathermap-api-factory `
10+ 3 . download [ angular-openweathermap-api-factory.zip] ( https://github.com/JohnnyTheTank/angular-openweathermap-api-factory/zipball/master )
9112 . Add ` jtt_openweathermap ` 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-openweathermap-api-factory/src/angular-openweathermap-api-factory.js" ></script >
15+ <script src =" bower_components/angular-openweathermap-api-factory/src/angular-openweathermap-api-factory.min.js" ></script >
1616 ```
17-
18- 4. Use the factory `openweathermapFactory`.
17+ 2. When using npm:
18+ ```html
19+ <script src =" node_modules/angular-openweathermap-api-factory/src/angular-openweathermap-api-factory.min.js" ></script >
20+ ```
21+ 3. when using downloaded files
22+ ```html
23+ <script src =" angular-openweathermap-api-factory.min.js" ></script >
24+ ```
25+ 4. Use the factory `openweathermapFactory`
1926
2027
2128### factory methods
You can’t perform that action at this time.
0 commit comments