Skip to content
masterclass Buddy

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.

Subscribe
  • ApplicationRef
  • ApplicationConfig
  • BootstrapContext
  • importProvidersFrom
  • provideProtractorTestingSupport
  • bootstrapModule

Source: bootstrapApplication • Angular. Checked 2026-11-03.