diff --git a/src/ng/interval.js b/src/ng/interval.js index 74f30820478d..9e0656eb48bd 100644 --- a/src/ng/interval.js +++ b/src/ng/interval.js @@ -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); * }); * } - * }); + * }]); * * *