AngularJS in Typescript