Spring and angularJS