Update angular.d.ts

allows the following syntax :
 
function foo($scope){}
foo.$inject = ['$scope']
This commit is contained in:
basarat
2013-08-03 14:45:05 +10:00
parent 6140c736a9
commit 6fc8cd92ed

View File

@@ -8,6 +8,11 @@
declare var angular: ng.IAngularStatic;
// Support for painless dependency injection
interface Function {
$inject:string[];
}
///////////////////////////////////////////////////////////////////////////////
// ng module (angular.js)
///////////////////////////////////////////////////////////////////////////////