AngularJS application using persistencejs for WebSQL persistence and RESTful WS with Spring MVC 3, Objectify 4