An experiment with Spring, AngularJS