a short example of using spring-data-rest and angularjs with jpa