forked from thelgevold/angular-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
upgrade-module.ts
25 lines (21 loc) · 1 KB
/
upgrade-module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {ReactiveFormsModule} from '@angular/forms';
import {UpgradeModule} from '@angular/upgrade/static';
import {TextEditor} from './components/text-editor/text-editor';
import {Algorithms} from './components/algorithms/algorithms';
import {SurveyDemo} from './components/survey/survey-demo';
import {Survey} from './components/survey/survey';
import {InsertionSort} from './components/insertion-sort/insertion-sort';
import {UpgradePubSubService} from './upgrade-pub-sub.service';
import {MessageComponent} from './message.component';
declare var angular:any;
@NgModule({
declarations: [Algorithms, InsertionSort, SurveyDemo, Survey, TextEditor, MessageComponent],
entryComponents: [Algorithms, InsertionSort, SurveyDemo, Survey, TextEditor, MessageComponent],
imports: [BrowserModule, UpgradeModule, ReactiveFormsModule],
providers: [UpgradePubSubService]
})
export class AngularModule {
ngDoBootstrap() {}
}