/ng-weather

Angular Directive which shows weather

Primary LanguageCSS

ng-weather

Angular Directive which show weather

Environment

Go to project directory

npm install

bower install

npm install -g grunt-cli (if not installed)

grunt production

Example

To display the example, you can execute ./server.sh

If there is a problem, you must install npm and express

node server.js

How to install directive

Add js/widget.directive.js into html links Inject module 'WeatherModule' into the main application implement the tag ''

By default, the language is english.

Available parameters

  • mode : 'complete' by default, if mode="light|lite" then we display a light wersion of the widget
  • lang : the language to display
  • city : what city which we want display its weather
  • city-lat [Optional] : the latitud of the city
  • city-lon [Optional] : the longitud of the city