-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathapp.config.ts
More file actions
24 lines (23 loc) · 1018 Bytes
/
app.config.ts
File metadata and controls
24 lines (23 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { provideHttpClient, withFetch, withInterceptorsFromDi } from "@angular/common/http";
import { ApplicationConfig, importProvidersFrom } from "@angular/core";
import { FormsModule } from "@angular/forms";
import { BrowserModule, HammerModule, provideClientHydration, withEventReplay } from "@angular/platform-browser";
import { provideAnimations } from "@angular/platform-browser/animations";
import { NgbModule } from "@ng-bootstrap/ng-bootstrap";
import { provideRouter } from "@angular/router";
import { AppRoutes } from "./app.routes";
import { OverflowService } from "./services/overflow.service";
export const AppConfig: ApplicationConfig = {
providers: [
importProvidersFrom(
BrowserModule,
FormsModule,
HammerModule,
NgbModule
),
provideHttpClient(withInterceptorsFromDi(), withFetch()),
provideAnimations(),
provideRouter(AppRoutes),
OverflowService, provideClientHydration(withEventReplay())
]
};