generator-angularjs

A generator for AngularJS apps

  • Angular AMD support
  • Single require.js app/tests config
  • Require.js optimization support (r.js)
  • Karma test runner support
  • Mocha/Chai support
npm install -g yo generator-generator
npm install -g generator-angularjs

yo angularjs
grunt express:dev
http://localhost:9000
grunt requirejs
grunt express:prod
http://localhost:9000

Note: If r.js raises a bad syntax error, use the following command:

grunt requirejs --force
grunt karma:unit