• Overview
@angular/platform-browser

createApplication

function

Create an instance of an Angular application without bootstrapping any components. This is useful for the situation where one wants to decouple application environment creation (a platform and associated injectors) from rendering components on a screen. Components can be subsequently bootstrapped on the returned ApplicationRef.

  
    function createApplication(  options?: ApplicationConfig | undefined): Promise<ApplicationRef>;
  
  

createApplication

Create an instance of an Angular application without bootstrapping any components. This is useful for the situation where one wants to decouple application environment creation (a platform and associated injectors) from rendering components on a screen. Components can be subsequently bootstrapped on the returned ApplicationRef.

@paramoptionsApplicationConfig | undefined

Extra configuration for the application environment, see ApplicationConfig for additional info.

@returnsPromise<ApplicationRef>
Jump to details