This project is generated with yo angular generator version 0.14.0.
This project uses node/npm and bower to handle dependencies, and grunt as a build tool.
Download and install node/npm from the website if you do not have it on your machine.
Grunt and bower are installed using npm: npm install -g bower grunt-cli
The project also uses yeoman as a scafolding tool. The project can continue without using yeoman, but using it will simplify devlopment.
Install yeoman and the generator used using: npm install -g yo generator-karma generator-angular
If you have just downloaded the repo, use npm install && bower install
to install dependencies.
Run grunt
for building and grunt serve
for preview.
Running grunt test
will run the unit tests with karma.
'You can find the code and documentation for the credit card validation library here.
Make sure your scope variables are named differently that your controllers. For example: Don't use the name $scope.lessons in the lessons controller. Doing so disrupts some angular internall magic.