aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/q.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/q.js')
-rw-r--r--src/ng/q.js14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/ng/q.js b/src/ng/q.js
index d0807346..38a63f53 100644
--- a/src/ng/q.js
+++ b/src/ng/q.js
@@ -2,7 +2,7 @@
/**
* @ngdoc service
- * @name ng.$q
+ * @name $q
* @requires $rootScope
*
* @description
@@ -190,8 +190,7 @@ function qFactory(nextTick, exceptionHandler) {
/**
* @ngdoc
- * @name ng.$q#defer
- * @methodOf ng.$q
+ * @name $q#defer
* @description
* Creates a `Deferred` object which represents a task which will finish in the future.
*
@@ -346,8 +345,7 @@ function qFactory(nextTick, exceptionHandler) {
/**
* @ngdoc
- * @name ng.$q#reject
- * @methodOf ng.$q
+ * @name $q#reject
* @description
* Creates a promise that is resolved as rejected with the specified `reason`. This api should be
* used to forward rejection in a chain of promises. If you are dealing with the last promise in
@@ -405,8 +403,7 @@ function qFactory(nextTick, exceptionHandler) {
/**
* @ngdoc
- * @name ng.$q#when
- * @methodOf ng.$q
+ * @name $q#when
* @description
* Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
* This is useful when you are dealing with an object that might or might not be a promise, or if
@@ -476,8 +473,7 @@ function qFactory(nextTick, exceptionHandler) {
/**
* @ngdoc
- * @name ng.$q#all
- * @methodOf ng.$q
+ * @name $q#all
* @description
* Combines multiple promises into a single promise that is resolved when all of the input
* promises are resolved.