exercises

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

root.config.ts (645B)


      1 import { ApplicationConfig, provideBrowserGlobalErrorListeners, provideZonelessChangeDetection } from '@angular/core';
      2 import { provideRouter, withComponentInputBinding, withViewTransitions } from '@angular/router';
      3 import { routes } from './root.routes';
      4 import { provideHttpClient } from '@angular/common/http';
      5 import { BusyService } from './components/busy/busy.service';
      6 
      7 export const appConfig: ApplicationConfig = {
      8   providers: [
      9     provideBrowserGlobalErrorListeners(),
     10     provideZonelessChangeDetection(),
     11     provideRouter(routes, withComponentInputBinding(), withViewTransitions()),
     12     provideHttpClient(),
     13     BusyService
     14   ]
     15 };