angular: another attempt for 1.4

This commit is contained in:
Basarat Ali Syed
2015-03-12 11:16:23 +11:00
parent 779fcd5d77
commit adf8ebbcce

View File

@@ -6,24 +6,22 @@
/// <reference path="../jquery/jquery.d.ts" />
declare var angular: ng.IAngularStatic;
declare var angular: angular.IAngularStatic;
// Support for painless dependency injection
interface Function {
$inject?: string[];
}
// Collapse ng into angular
// NOTE: this is going to be deprecated
// Collapse angular into ng
import ng = angular;
// Support AMD require
declare module 'angular' {
export = angular;
}
///////////////////////////////////////////////////////////////////////////////
// angular module (angular.js)
// ng module (angular.js)
///////////////////////////////////////////////////////////////////////////////
declare module angular {