AngularJS TypeScript Controller