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

Commit e7999e7

Browse files
Josh Schreudercaitp
Josh Schreuder
authored andcommitted
docs($interval): fix missing square brackets in example
Closes #8228
1 parent d175bb0 commit e7999e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/interval.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function $IntervalProvider() {
8383
* // Make sure that the interval nis destroyed too
8484
* $scope.stopFight();
8585
* });
86-
* })
86+
* }])
8787
* // Register the 'myCurrentTime' directive factory method.
8888
* // We inject $interval and dateFilter service since the factory method is DI.
8989
* .directive('myCurrentTime', ['$interval', 'dateFilter',
@@ -112,7 +112,7 @@ function $IntervalProvider() {
112112
* $interval.cancel(stopTime);
113113
* });
114114
* }
115-
* });
115+
* }]);
116116
* </script>
117117
*
118118
* <div>

0 commit comments

Comments
 (0)