|
|
@@ -11,6 +11,9 @@ import { AppComponent } from './app.component'; |
|
|
|
import { ServiceWorkerModule } from '@angular/service-worker'; |
|
|
|
import { environment } from '../environments/environment'; |
|
|
|
import { MyHammerConfig } from './hammer-config'; |
|
|
|
import { HttpClientModule } from '@angular/common/http'; |
|
|
|
|
|
|
|
import { DataService } from './services/data.service'; |
|
|
|
|
|
|
|
@NgModule({ |
|
|
|
declarations: [AppComponent], |
|
|
@@ -18,11 +21,13 @@ import { MyHammerConfig } from './hammer-config'; |
|
|
|
imports: [BrowserModule, |
|
|
|
IonicModule.forRoot(), |
|
|
|
AppRoutingModule, |
|
|
|
HttpClientModule, |
|
|
|
HammerModule, |
|
|
|
ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production })], |
|
|
|
providers: [ |
|
|
|
StatusBar, |
|
|
|
SplashScreen, |
|
|
|
DataService, |
|
|
|
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }, |
|
|
|
{ provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }, |
|
|
|
], |
|
|
|