Science, asked by fifi6261, 1 year ago

What are the advantages of Restangular over $resource and $http?

Answers

Answered by abcxyz12
1
hiiii mate here your answer ✔️ ✔️
____________________________

I'm the creator of Restangular.

I've created a section on the README with the differences against $resource. You can check them out here .
Anyway, as a sum up, besides the additional features and the promise based approach, the idea is that Restangular can also handle all of your URLs, so that you don't have to know anything about them.

Suppose that you have something like this for cars : /users/123/cars/456

In $resource, You'd have to construct that URL manually and you'd also have to construct the $resource object for this manually. Restangular helps you in this by "remembering" the URLs.
_______________________________

❤️⭐PLzz mark as brainlist answer⭐❤️

Similar questions