Angular · Function
bootstrapApplication
Starts an Angular application with a standalone root component. It returns a promise that resolves to an ApplicationRef and accepts optional application configuration.
Last updated
Syntax
bootstrapApplication(rootComponent: Type<unknown>, options?: ApplicationConfig, context?: BootstrapContext): Promise<ApplicationRef>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ApplicationRefApplicationConfigBootstrapContextimportProvidersFromprovideProtractorTestingSupportbootstrapModule