JEE7, REST WS, AngularJS