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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -