Skip to content

Commit 220bdca

Browse files
committed
add ng annotate annotation for typescript
1 parent 86daad5 commit 220bdca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/templates/src/app/main/_main.controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module <%= appName %> {
1919
}
2020

2121
export class MainCtrl {
22+
/* @ngInject */
2223
constructor ($scope: IMainScope) {
2324
var awesomeThings = <%= technologies %>;
2425

app/templates/src/components/navbar/_navbar.controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module <%= appName %> {
77
}
88

99
export class NavbarCtrl {
10+
/* @ngInject */
1011
constructor ($scope: INavbarScope) {
1112
$scope.date = new Date();
1213
}

0 commit comments

Comments
 (0)