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

Closes #8228
This commit is contained in:
Josh Schreuder
2014-07-17 10:32:07 +10:00
committed by Caitlin Potter
parent d7b3aa9ae6
commit 8cefb0b628

View File

@@ -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',
@@ -112,7 +112,7 @@ function $IntervalProvider() {
* $interval.cancel(stopTime);
* });
* }
* });
* }]);
* </script>
*
* <div>