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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -