Angular 22 · Routing and forms

Bootstrap the app

Start the app with a root component and providers for routing and HTTP.

bootstrapApplication(AppComponent, {
  providers: [provideRouter(routes), provideHttpClient()],
});

Official Angular 22 documentation

More routing and forms commands

All routing and forms commands · Angular 22 cheatsheet

Was this page helpful?