RESTful User API with Angular