app.module.ts
1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { HttpClientModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { SplitPipe } from './pipes/split.pipe';
import { AppComponent } from './app.component';
import { SplashScreenComponent } from './modules/splash-screen/splash-screen.component';
import { AdminComponent } from './modules/admin/admin.component';
import { FooterComponent } from './shared/footer/footer.component';
import { SharedModule } from './modules/shared/shared.module';
import { ModalModule } from 'ngx-bootstrap/modal';
import { InternetConnectionComponent } from './shared/internet-connection/internet-connection.component';
@NgModule({
declarations: [
AppComponent,
SplashScreenComponent,
SplitPipe,
AdminComponent,
FooterComponent,
InternetConnectionComponent,
],
imports: [
BrowserModule,
BrowserAnimationsModule,
AppRoutingModule,
HttpClientModule,
FormsModule,
ModalModule.forRoot(),
ReactiveFormsModule,
ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }),
SharedModule.forRoot(),
],
bootstrap: [AppComponent],
entryComponents: [InternetConnectionComponent]
})
export class AppModule { }