Guest User

Untitled

a guest
May 22nd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. @NgModule({
  2. declarations: [AppComponent],
  3. entryComponents: [AppComponent],
  4. imports: [
  5. CommonModule,
  6. BrowserModule,
  7. MyModule.forRoot(config),
  8. ],
  9. providers: [],
  10. })
  11. export class AppModule {
  12. ngDoBootstrap(app) {
  13. app.bootstrap(AppComponent);
  14. }
  15. }
  16.  
  17. @NgModule({
  18. declarations: [AppComponent],
  19. entryComponents: [AppComponent],
  20. providers: [],
  21. })
  22. export class AppModule {
  23. ngDoBootstrap(app) {
  24. app.imports([
  25. CommonModule,
  26. BrowserModule,
  27. MyModule.forRoot(config),
  28. ]);
  29. app.bootstrap(AppComponent);
  30. }
  31. }
Add Comment
Please, Sign In to add comment