Spring REST Angular Js JPA Hibernate