Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 5ded3d3

Browse files
wesleychoNarretz
authored andcommitted
docs($resource): fix wording for failure
- Fix mention of promise resolution on failure: resolved -> rejected Closes #13638 Closes #13624
1 parent 986647a commit 5ded3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngResource/resource.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ function shallowClearAndCopy(src, dst) {
236236
* {@link ngRoute.$routeProvider resolve section of $routeProvider.when()} to defer view
237237
* rendering until the resource(s) are loaded.
238238
*
239-
* On failure, the promise is resolved with the {@link ng.$http http response} object, without
239+
* On failure, the promise is rejected with the {@link ng.$http http response} object, without
240240
* the `resource` property.
241241
*
242242
* If an interceptor object was provided, the promise will instead be resolved with the value

0 commit comments

Comments
 (0)