-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(all): add readme.md and update license.
- Loading branch information
Carlos Mantilla
committed
Jul 5, 2015
1 parent
e4e8f7b
commit 74b2f85
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#Angular Weather | ||
|
||
Component to add weather information to your project | ||
|
||
##How do I add angular-weather to my project? | ||
|
||
- Install the module `bower install angular-weather --save` | ||
|
||
- Add the library to your project | ||
|
||
```html | ||
<script type="text/javascript" src="bower_components/angular-weather/angular-weather.js"></script> | ||
``` | ||
|
||
- Declare the module in your application | ||
|
||
```javascript | ||
angular.module('myApp', ['angular-weather']); | ||
``` | ||
|
||
- User the directive to display the current weather in somewhere | ||
|
||
```html | ||
<angular-weather city="Houston"></angular-weather> | ||
``` | ||
|
||
##License | ||
|
||
angular-weather is licensed under the MIT license. See the [LICENSE](LICENSE) file for more details. |