Using TypeScript with AngularJS and Web API