From db31133c362d8fbf1a5406b65cf7be74d58e6b14 Mon Sep 17 00:00:00 2001 From: Wesley Cho Date: Sun, 27 Dec 2015 08:58:42 -0500 Subject: [PATCH] docs(resource): fix mention on failure - Fix mention of promise resolution on failure --- src/ngResource/resource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngResource/resource.js b/src/ngResource/resource.js index 886ccac52dbe..de84f1ff4728 100644 --- a/src/ngResource/resource.js +++ b/src/ngResource/resource.js @@ -236,7 +236,7 @@ function shallowClearAndCopy(src, dst) { * {@link ngRoute.$routeProvider resolve section of $routeProvider.when()} to defer view * rendering until the resource(s) are loaded. * - * On failure, the promise is resolved with the {@link ng.$http http response} object, without + * On failure, the promise is rejected with the {@link ng.$http http response} object, without * the `resource` property. * * If an interceptor object was provided, the promise will instead be resolved with the value