File tree 9 files changed +9
-9
lines changed
9 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -653,7 +653,7 @@ import './todo.scss';
653
653
export const TodoModule = angular
654
654
.module (' todo' , [])
655
655
.component (' todo' , TodoComponent)
656
- .directive (' todoAutofocus' , () => new TodoAutoFocus ())
656
+ .directive (' todoAutofocus' , ($timeout ) => new TodoAutoFocus ($timeout ))
657
657
.name ;
658
658
```
659
659
Original file line number Diff line number Diff line change @@ -653,7 +653,7 @@ import TodoAutofocus from './todo-autofocus.directive';
653
653
const TodoModule = angular
654
654
.module (' todo' , [])
655
655
.component (' todo' , TodoComponent)
656
- .directive (' todoAutofocus' , () => new TodoAutoFocus )
656
+ .directive (' todoAutofocus' , ($timeout ) => new TodoAutoFocus ($timeout) )
657
657
.name ;
658
658
659
659
export default TodoModule ;
Original file line number Diff line number Diff line change @@ -609,7 +609,7 @@ import './todo.scss';
609
609
export const TodoModule = angular
610
610
.module (' todo' , [])
611
611
.component (' todo' , TodoComponent)
612
- .directive (' todoAutofocus' , () => new TodoAutoFocus )
612
+ .directive (' todoAutofocus' , ($timeout ) => new TodoAutoFocus ($timeout) )
613
613
.name ;
614
614
```
615
615
Original file line number Diff line number Diff line change @@ -671,7 +671,7 @@ import TodoAutofocus from './todo-autofocus.directive';
671
671
const TodoModule = angular
672
672
.module (' todo' , [])
673
673
.component (' todo' , TodoComponent)
674
- .directive (' todoAutofocus' , () => new TodoAutoFocus )
674
+ .directive (' todoAutofocus' , ($timeout ) => new TodoAutoFocus ($timeout) )
675
675
.name ;
676
676
677
677
export default TodoModule ;
Original file line number Diff line number Diff line change @@ -673,7 +673,7 @@ import './todo.scss';
673
673
export const TodoModule = angular
674
674
.module (' todo' , [])
675
675
.component (' todo' , TodoComponent)
676
- .directive (' todoAutofocus' , () => new TodoAutoFocus ())
676
+ .directive (' todoAutofocus' , ($timeout ) => new TodoAutoFocus ($timeout ))
677
677
.name ;
678
678
```
679
679
Original file line number Diff line number Diff line change @@ -671,7 +671,7 @@ import TodoAutofocus from './todo-autofocus.directive';
671
671
const TodoModule = angular
672
672
.module (' todo' , [])
673
673
.component (' todo' , TodoComponent)
674
- .directive (' todoAutofocus' , () => new TodoAutoFocus )
674
+ .directive (' todoAutofocus' , ($timeout ) => new TodoAutoFocus ($timeout) )
675
675
.name ;
676
676
677
677
export default TodoModule ;
Original file line number Diff line number Diff line change @@ -671,7 +671,7 @@ import TodoAutofocus from './todo-autofocus.directive';
671
671
const TodoModule = angular
672
672
.module (' todo' , [])
673
673
.component (' todo' , TodoComponent)
674
- .directive (' todoAutofocus' , () => new TodoAutoFocus )
674
+ .directive (' todoAutofocus' , ($timeout ) => new TodoAutoFocus ($timeout) )
675
675
.name ;
676
676
677
677
export default TodoModule ;
Original file line number Diff line number Diff line change @@ -688,7 +688,7 @@ import TodoAutofocus from './todo-autofocus.directive';
688
688
const TodoModule = angular
689
689
.module (' todo' , [])
690
690
.component (' todo' , TodoComponent)
691
- .directive (' todoAutofocus' , () => new TodoAutoFocus )
691
+ .directive (' todoAutofocus' , ($timeout ) => new TodoAutoFocus ($timeout) )
692
692
.name ;
693
693
694
694
export default TodoModule ;
Original file line number Diff line number Diff line change @@ -697,7 +697,7 @@ import { TodoAutofocus } from './todo-autofocus.directive';
697
697
export const TodoModule = angular
698
698
.module (' todo' , [])
699
699
.component (' todo' , TodoComponent )
700
- .directive (' todoAutofocus' , () => new TodoAutoFocus )
700
+ .directive (' todoAutofocus' , ($timeout : angular . ITimeoutService ) => new TodoAutoFocus ( $timeout ) )
701
701
.name ;
702
702
703
703
```
You can’t perform that action at this time.
0 commit comments