This is a sample project using Spring Security and AngularJs.
For more information you can read my wordpress post here.
A demo is available at this link tomcat7-samerabdelkafi.rhcloud.com/ssng-project This project uses servlet 3 API. Check if your application server or your servlet container supports servlet 3 spec.For Tomcat you can have this information in this link: tomcat.apache.org/whichversion