Sample Java Code using Spring Data/JPA, MVC, HSQLDB, REST and Angular.js