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

docs($interval): fix missing square brackets in example #8228

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ng/interval.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function $IntervalProvider() {
* // Make sure that the interval nis destroyed too
* $scope.stopFight();
* });
* })
* }])
* // Register the 'myCurrentTime' directive factory method.
* // We inject $interval and dateFilter service since the factory method is DI.
* .directive('myCurrentTime', ['$interval', 'dateFilter',
Expand Down Expand Up @@ -112,7 +112,7 @@ function $IntervalProvider() {
* $interval.cancel(stopTime);
* });
* }
* });
* }]);
* </script>
*
* <div>
Expand Down