TypeScript definitions for AngularJS