I'm trying to use AngularJS (which I'm new to) in combination with TypeScript while following the tutorial.
This helped me a lot, but now I ran into the following problem:
I'm using the typing file from DefinitelyTyped which states that each IServiceProvider (which IHttpProvider inherits) has a $get property.
While trying to use the $httpProvider service of Angular I need to call the $http.get method (note: without the '$').
When trying to run this it fails because $get is undefined. I tried to change it to get temporarily in the browser and then the code works, so I'm confident that this is the problem.
I can't just use get in my TypeScript file, because it would fail to compile.
Now I'd like to know how to work around this problem?
disclaimer: I'm not too comfortable with JavaScript in general either.