RESTFul WS with AngularJS