Web App with AngularJS in frontend backed with Java - Spring Security and REST