28 lines
648 B
TypeScript
28 lines
648 B
TypeScript
|
// vim: set tw=80 ts=2 sw=2 sts=2:
|
||
|
import 'zone.js';
|
||
|
import 'reflect-metadata';
|
||
|
|
||
|
import './app.ts';
|
||
|
|
||
|
import { NgModule } from '@angular/core';
|
||
|
import { BrowserModule } from '@angular/platform-browser';
|
||
|
import { UpgradeModule } from '@angular/upgrade/static';
|
||
|
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [
|
||
|
BrowserModule,
|
||
|
UpgradeModule
|
||
|
]
|
||
|
})
|
||
|
|
||
|
export class AppModule {
|
||
|
constructor(private upgrade: UpgradeModule) { }
|
||
|
|
||
|
ngDoBootstrap() {
|
||
|
this.upgrade.bootstrap(document.body, ['accountant'], { strictDi: false });
|
||
|
}
|
||
|
}
|
||
|
|
||
|
platformBrowserDynamic().bootstrapModule(AppModule);
|