A basic template with (now updated to Angular 1.5.0)
- Different folders for staging and production
grunt compile
for one minified JavaScript file for production- ImmutableJS library for immutable data
- Headless browser testing with PhantomJS
- Jasmine testing framework
- AngularJS inoffical style guide and patterns implemented
- Multiple language support
git clone git@github.com:gruberb/angular-boilerplate.git
cd angular-boilerplate
npm -g install grunt-cli karma
gem install sass
npm install
grunt serve
Open a browser and navigate to localhost:9001
To see the coverage report navigate to coverage
folder created by grunt serve, build or compile, and locate index.html file.
grunt build
for not minified version to debug in the browser
grunt compile
for creating a bin
folder with one minified JavaScript file for production
For compiling the langauge files you need to add them to list in Gruntfile config under jsonmin->locale->files