docs($http): added return to interceptors success callback

This commit is contained in:
Mikk Kirstein 2013-08-14 21:25:01 +03:00 committed by Vojta Jina
parent 96bbf729dd
commit f757f86b6c

View file

@ -412,6 +412,7 @@ function $HttpProvider() {
* return function(promise) {
* return promise.then(function(response) {
* // do something on success
* return response;
* }, function(response) {
* // do something on error
* if (canRecover(response)) {