Hacker News new | ask | show | jobs
by alexmic 4635 days ago
> "Use $resource instead of $http when possible. Highther level of abstraction saves you from redundency."

Last time I used angular, $resource was removing trailing slashes [1]. This makes it hard to work with a Django backend and I had to fall back to $http.

Also, there's a typo in "redundency" – should be "redundancy".

[1] https://github.com/angular/angular.js/issues/992

1 comments

And I'm pretty sure everyone has now agreed $resource is pretty painful.