Rest Spring with JPA/Hibernate and Angular Js