Sample app using spring security rest plugin and AngularJS client