12 lines
446 B
TypeScript
12 lines
446 B
TypeScript
|
// #docregion bootstrap
|
||
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
||
|
import { UpgradeModule } from '@angular/upgrade/static';
|
||
|
|
||
|
import { AppModule } from './app.module';
|
||
|
|
||
|
platformBrowserDynamic().bootstrapModule(AppModule).then(platformRef => {
|
||
|
const upgrade = platformRef.injector.get(UpgradeModule) as UpgradeModule;
|
||
|
upgrade.bootstrap(document.documentElement, ['phonecatApp']);
|
||
|
});
|
||
|
// #enddocregion bootstrap
|