Answer the question
In order to leave comments, you need to log in
AngularJS Return value from resolve?
Good day to all. There is an Angular application from which I send requests to the rest server using Restangular. All objects received from the server via GET using Restangular have data about the remote rest inside the object. So I can easily call the PUT DELETE method on the received object.
var users = Restangular.all('users');
var user = users[0]; //user with id 1
...
user.put(); //put to /users/1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question