aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/timeout.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/timeout.js')
-rw-r--r--src/ng/timeout.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ng/timeout.js b/src/ng/timeout.js
index 511a0a05..ff87c93b 100644
--- a/src/ng/timeout.js
+++ b/src/ng/timeout.js
@@ -8,8 +8,8 @@ function $TimeoutProvider() {
/**
- * @ngdoc function
- * @name ng.$timeout
+ * @ngdoc service
+ * @name $timeout
* @requires $browser
*
* @description
@@ -61,9 +61,8 @@ function $TimeoutProvider() {
/**
- * @ngdoc function
- * @name ng.$timeout#cancel
- * @methodOf ng.$timeout
+ * @ngdoc method
+ * @name $timeout#cancel
*
* @description
* Cancels a task associated with the `promise`. As a result of this, the promise will be