Integrated Spring Security and AngularJS