angular.bootstrap
ng
angular.bootstrap(element[, modules]);
| Param | Type | Details |
|---|---|---|
| element | Element | DOM element which is the root of angular application. |
| modules (optional) | Array<String|Function|Array> | an array of modules to load into the application.
Each item in the array should be the name of a predefined module or a (DI annotated)
function that will be invoked by the injector as a run block.
See: |
| AUTO.$injector | Returns the newly created injector for this app. |