Created
November 11, 2017 13:24
-
-
Save pglazkov/9a1087512acd1553b6415e1213fc0d30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { AppComponent } from './app.component' | |
import { DynamicComponent } from './dynamic.component'; | |
import { ComponentFactoryService } from './component-factory.service'; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
DynamicComponent | |
], | |
imports: [BrowserModule], | |
providers: [ComponentFactoryService], | |
bootstrap: [AppComponent], | |
entryComponents: [DynamicComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment