Crossroads Core Angular Module
This is the core angular module for the Crossroads.net site. It includes multiple dependencies used throughout the crossroads ecosystem including:
- Angular
- Angular Resource
- Angular Cookies
- Angular Messages
- Angular Sanitize
- Angular Stripe
- Ui-Router may be removed in the future
- Ui-Bootstrap
- UI Event
- Angular Growl 2
- Angular Payments may be removed in the future
- Angular Stripe may be removed in the future
- Angular Toggle Switch may be removed in the future
- lodash
- moment
Installation
npm i crds-core --save-dev
At the top of your entry file (most likely app.js) require('crds-core')
Building and Testing
The module is built with gulp using webpack for packaging.
- Pull down the repo
- Install dependencies
npm i
- Run tests
karma start karma.conf.js
- To run tests on a ci server,
karma start karma.ci.conf.js