Merge pull request #6164 from thorn0/angular.bootstrap

AngularJS: support calling angular.bootstrap on the document
This commit is contained in:
Masahiro Wakame
2015-10-06 23:24:06 +09:00
+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.