ng-daia ![Build Status](https://travis-ci.org/gbv/ng-daia.png?branch=master)
AngularJS module to facilitate access to DAIA services
See http://gbv.github.io/ng-daia/ for documentation and usage examples.
Installation
Install ng-daia as a dependency in your Node.js project:
npm install ng-daia --safe
Then require it in your client-side JavaScript files:
var ng_daia = require('ng-daia');
Development
Stop reading here unless you want to modify the source code of ng-daia!
Requires AngularJS >= 1.2.
Requires OS with POSIX symlinks
First, clone the repository from https://github.com/gbv/ng-daia.
Second, install Node.js unless it is already installed. Node.js includes npm
to install additional packages. Locally install all required packages
listed in package.json
(for global installation call npm
via sudo -H
):
npm install -g grunt-cli
npm install
Testing is configured in karma.conf.js
and unit tests are located in
directory test
written with Jasmine.
To execute of all unit tests call:
grunt test
For contious testing (tests are re-run on changes), call:
grunt watch
As configured in .travis.yml
the tests are automatically
executed at travis-ci
when pushed to GitHub.
To build the documentation, written using
ngdoc,
call
grunt docs