angularjs - RestAngular vs $http on calls that aren't strictly RESTful? -


is there point in using restangular if of calls don't end being usual restful all, id, put, post, delete, etc?

i understand beauty of restful, wrong in not seeing advantage when end having other methods in controllers? (e.g. returning dto of multiple joined tables).

obviously fact don't have type out full url still there, that's addressed "baseurl" constant when using $http.

there benefit in can inject pre , post processors requests, part, find assumption correct there little benefit when dealing not strictly restful endpoints.

i recommend $http requests reside in services , not in controllers.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -