aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/http.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/http.js')
-rw-r--r--src/ng/http.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ng/http.js b/src/ng/http.js
index d9813663..40ebfca2 100644
--- a/src/ng/http.js
+++ b/src/ng/http.js
@@ -291,6 +291,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)) {