This is an example project for bulding Angular applications with a Java server using Maven.
Note! This project is using a slightly patched version of angular.js, see this thread on the Angular mailing list. Also, have a look at the pull request. Update: The pull request has been commited to angular mainline. We will not need to patch angular as of next release!
The project is using the jasmine-maven-plugin to execute the Jasmine Specs for angular controllers. This plugin outputs JUnit XML parsable by CI servers, such as Jenkins.
mvn install
mvn jetty:run
Then open http://localhost:8080/ and play the piano. You can now edit your HTML and Javascript and press reload in the browser to test your updates.
After a build you will find a manual spec runner: /target/jasmine/ManualSpecRunner.html. This is very useful to use while you are developing Angular controllers and Jasmine specifications.