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