Integration of AngularJS and TypeScript