I'm using Angularjs and Typescript and I would like to extend the angular object with a custom function like this:
angular.executeAfterDigest(function(){...});
How do I go around and do this? I suspect I need to extend IAngularStatic somehow or can I use something like angular.prototype? (I'm not very experienced with extending javascript object to start with).
Maybe it's more proper to create an "angularHelperService" that get injected instead.