An open API service indexing awesome lists of open source software.

https://github.com/ehealthafrica/angular-locations

logic to manage hierarchical administrative division data in our Angular apps
https://github.com/ehealthafrica/angular-locations

africa angular

Last synced: 9 months ago
JSON representation

logic to manage hierarchical administrative division data in our Angular apps

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/eHealthAfrica/angular-locations.svg?branch=master)](https://travis-ci.org/eHealthAfrica/angular-locations)

# eHealth.locations

To run the tests and build, run:

$ grunt

Make sure to have updated versions of your Bower dependencies,
otherwise your older versions will get into the built files. You can
update running `bower update`.

To add a new country:

* update `bower.json` to the new version of eHealthAfrica/locations containing the country.
* add the country to the `ngconstant` task of the `Gruntfile`.
* add the country to `src/services/locationsFactory.js`.
* build
* release the new version.

To release a new version:

Update the version in [the
changelog](/blob/master/CHANGELOG.md) and in `bower.json` and and add
a new tag. Don't forget to commit the build under `/dist`.