ComponentRef coreBootstrap(Injector injector, ComponentFactory componentFactory)

Shortcut for ApplicationRef.bootstrap.

Requires a platform the be created first.

Source

ComponentRef coreBootstrap(
    Injector injector, ComponentFactory componentFactory) {
  appViewUtils = injector.get(AppViewUtils);
  ApplicationRef appRef = injector.get(ApplicationRef);
  return appRef.bootstrap(componentFactory);
}