CompUGE-Bench / src /app /app.config.ts
Ahmad Shallouf
added new modifications
27e40c0
raw
history blame contribute delete
704 Bytes
import {ApplicationConfig, ErrorHandler} from '@angular/core';
import {provideRouter, withComponentInputBinding} from '@angular/router';
import { routes } from './app.routes';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import {provideHttpClient, withFetch} from "@angular/common/http";
import {GlobalErrorHandlerService} from "./error_handling/global-error-handler.service";
export const appConfig: ApplicationConfig = {
providers: [
provideRouter(routes, withComponentInputBinding()),
provideAnimationsAsync(),
provideAnimationsAsync(),
provideHttpClient(withFetch()),
{provide: ErrorHandler, useClass: GlobalErrorHandlerService}
]
};