angular/angular.js — pull request #10440 by pkozlowski-opensource (2014-12-12 18:13:42+00:00)
Title: feat($http): pass response status code to data transform functions

Fixes #10324
Closes #6734

@caitp this is an alternative to #6734 discussed today. I'm still not sure what it the best: to pass status code or just success / error flag (like in #6734). The first approach is more flexible but people will have to duplicate the `isSuccess` "logic".