Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @NgModule({
- declarations: [AppComponent],
- entryComponents: [AppComponent],
- imports: [
- CommonModule,
- BrowserModule,
- MyModule.forRoot(config),
- ],
- providers: [],
- })
- export class AppModule {
- ngDoBootstrap(app) {
- app.bootstrap(AppComponent);
- }
- }
- @NgModule({
- declarations: [AppComponent],
- entryComponents: [AppComponent],
- providers: [],
- })
- export class AppModule {
- ngDoBootstrap(app) {
- app.imports([
- CommonModule,
- BrowserModule,
- MyModule.forRoot(config),
- ]);
- app.bootstrap(AppComponent);
- }
- }
Add Comment
Please, Sign In to add comment