File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -189,8 +189,10 @@ function $QProvider() {
189
189
function qFactory ( nextTick , exceptionHandler ) {
190
190
191
191
/**
192
- * @ngdoc
192
+ * @ngdoc method
193
193
* @name $q#defer
194
+ * @function
195
+ *
194
196
* @description
195
197
* Creates a `Deferred` object which represents a task which will finish in the future.
196
198
*
@@ -344,8 +346,10 @@ function qFactory(nextTick, exceptionHandler) {
344
346
345
347
346
348
/**
347
- * @ngdoc
349
+ * @ngdoc method
348
350
* @name $q#reject
351
+ * @function
352
+ *
349
353
* @description
350
354
* Creates a promise that is resolved as rejected with the specified `reason`. This api should be
351
355
* used to forward rejection in a chain of promises. If you are dealing with the last promise in
@@ -402,8 +406,10 @@ function qFactory(nextTick, exceptionHandler) {
402
406
403
407
404
408
/**
405
- * @ngdoc
409
+ * @ngdoc method
406
410
* @name $q#when
411
+ * @function
412
+ *
407
413
* @description
408
414
* Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
409
415
* This is useful when you are dealing with an object that might or might not be a promise, or if
@@ -472,8 +478,10 @@ function qFactory(nextTick, exceptionHandler) {
472
478
473
479
474
480
/**
475
- * @ngdoc
481
+ * @ngdoc method
476
482
* @name $q#all
483
+ * @function
484
+ *
477
485
* @description
478
486
* Combines multiple promises into a single promise that is resolved when all of the input
479
487
* promises are resolved.
You can’t perform that action at this time.
0 commit comments