A demo on how to use grunt with angular
This project showcases a minimal grunt configuration which can be used with an AngularJS project. The configuration will allow for unit testing and generating code coverage report using Karma, and properly minify angular js files.
git clone https://github.com/seoj/grunt-angular-demo.git
npm install
npm run test
The JUnit report and coverage report will be under /build/test
npm run build
The minified resources will be genereated under /build/dist/
Host the root of the project on a web server, and simply hit the host with your browser.
The app is a simple dummy login screen, which takes in a username and password and displays success message if credentials match, otherwise displays an error message.