-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.ts
More file actions
24 lines (15 loc) · 693 Bytes
/
main.ts
File metadata and controls
24 lines (15 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
import { UpgradeModule } from '@angular/upgrade/static';
if (environment.production) {
enableProdMode();
}
// platformBrowserDynamic().bootstrapModule(AppModule)
// .then(ref => {
// // Once Angular bootstrap is complete then we bootstrap the AngularJS module
// const upgrade = ref.injector.get(UpgradeModule) as UpgradeModule;
// upgrade.bootstrap(document.body, ['demo']);
// });
platformBrowserDynamic().bootstrapModule(AppModule);