mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
committed by
Caitlin Potter
parent
d7b3aa9ae6
commit
8cefb0b628
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user