$http error callback doesn't have xhr.statusText
There is no way to get XHR statusText in $http error callback. Currently this only returns status(number - statusCode).
It would be really helpful to get status text to display the server error message in the browser.
Like examples, 404 - Resource not found 400 - User ID already exists
here's the work around to get StatusText (as pointed out that some moblie browsers strip out DATA from successfull responses: http://stackoverflow.com/a/28470163/1586498
Not sure if it'll work for everyone, but you can use then/catch. First argument of catch contains both statusText and status(which is response code) properties
+1 to get this fixed