This is a Zeppelin web frontend project.
The first thing you need to do is install Yeoman. We’re going to use the Node Package Manager to do this all at once.
npm install -g yo
npm install -g generator-angular
npm install
./grunt serve
- New controller :
yo angular:controller <controlerName>
- New directive :
yo angular:directive <directiveName>
- New service :
yo angular:service <serviceName>
./bower install <plugin> -save
update the file index.html with the new bower_components
ex: ./bower install angular-nvd3
<script src="bower_components/angular-nvd3/dist/angular-nvd3.js"></script>
./grunt build
mvn package
, will create the war file.
http://www.sitepoint.com/kickstart-your-angularjs-development-with-yeoman-grunt-and-bower/