From d6f04e64f2f40da8d89cf51edb0f6cf67813f68e Mon Sep 17 00:00:00 2001 From: PatrickJS Date: Tue, 11 Nov 2014 14:26:20 -0800 Subject: [PATCH] docs($q): missing finally notifyCallback API finally allows for notifyCallback and is missing in the Docs https://github.com/angular/angular.js/blob/v1.3.2/src/ng/q.js#L288 --- src/ng/q.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/q.js b/src/ng/q.js index 1dfd98bf9dce..5a474979f03f 100644 --- a/src/ng/q.js +++ b/src/ng/q.js @@ -142,7 +142,7 @@ * * - `catch(errorCallback)` – shorthand for `promise.then(null, errorCallback)` * - * - `finally(callback)` – allows you to observe either the fulfillment or rejection of a promise, + * - `finally(callback, notifyCallback)` – allows you to observe either the fulfillment or rejection of a promise, * but to do so without modifying the final value. This is useful to release resources or do some * clean-up that needs to be done whether the promise was rejected or resolved. See the [full * specification](https://github.com/kriskowal/q/wiki/API-Reference#promisefinallycallback) for