Angular Do-Bootstrap

Angular Do-Bootstrap Used for bootstrap modules required for bootstrapping a component. Angular 7 adds an interface (DoBootstrap) and a new life-cycle hook (ngDoBootstrap).

Example

class AppModule implements DoBootstrap {
  ngDoBootstrap(appRef: ApplicationRef) {
    appRef.bootstrap(AppComponent); // Or some other component
  }
}