mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
If a `@NgModule` has a `bootstrap` property, `PlatformRef.bootstrapModule` / `PlatformRef.bootstrapModuleFactory` will automatically bootstrap the components listed in there. If such a property does not exist, `PlatformRef.bootstrapModule` / `PlatformRef.bootstrapModuleFactory` will try to call the method `ngDoBootstrap(appRef: ApplicationRef)` on the module class. Otherwise an error is reported. |
||
|---|---|---|
| .. | ||
| angular_js.ts | ||
| constants.ts | ||
| downgrade_ng2_adapter.ts | ||
| metadata.ts | ||
| upgrade_adapter.ts | ||
| upgrade_ng1_adapter.ts | ||
| util.ts | ||