AngularJS: support calling angular.bootstrap on the document

This commit is contained in:
thorn0
2015-10-06 15:47:35 +03:00
parent 1137ef6d10
commit 308f2c22ba
+1 -1
View File
@@ -61,7 +61,7 @@ declare module angular {
* @param config an object for defining configuration options for the application. The following keys are supported:
* - `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.
*/
bootstrap(element: string|Element|JQuery, modules?: (string|Function|any[])[], config?: IAngularBootstrapConfig): auto.IInjectorService;
bootstrap(element: string|Element|JQuery|Document, modules?: (string|Function|any[])[], config?: IAngularBootstrapConfig): auto.IInjectorService;
/**
* Creates a deep copy of source, which should be an object or an array.