import 'zone.js'; import { bootstrapApplication } from '@angular/platform-browser'; import { provideHttpClient, withInterceptors, HttpInterceptorFn } from '@angular/common/http'; import { provideRouter, withComponentInputBinding } from '@angular/router'; import { AppComponent } from './app/app.component'; import { APP_ROUTES } from './app/app.routes'; import { authInterceptor } from './app/core/interceptors/auth.interceptor'; import { csrfInterceptor } from './app/core/interceptors/csrf.interceptor'; bootstrapApplication(AppComponent, { providers: [ provideHttpClient(withInterceptors([csrfInterceptor, authInterceptor])), provideRouter(APP_ROUTES, withComponentInputBinding()), ], }).catch((err) => console.error(err));