An example AngularJS Application that uses a Spring Security protected Jersey REST backend based on Hibernate/JPA