diff --git a/templates/typescript/controller.ts b/templates/typescript/controller.ts index 7a91b6894..c461e28e0 100644 --- a/templates/typescript/controller.ts +++ b/templates/typescript/controller.ts @@ -3,19 +3,12 @@ 'use strict'; module <%= scriptAppName %> { - export interface I<%= classedName %>Scope extends ng.IScope { - awesomeThings: any[]; - } - export class <%= classedName %>Ctrl { - - constructor (private $scope: I<%= classedName %>Scope) { - $scope.awesomeThings = [ + public awesomeThings: string[] = [ 'HTML5 Boilerplate', 'AngularJS', 'Karma' - ]; - } + ]; } }