import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { RouteReuseStrategy } from '@angular/router';

import { IonicModule, IonicRouteStrategy } from '@ionic/angular';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { Health } from '@awesome-cordova-plugins/health/ngx';
import { IonicStorageModule } from '@ionic/storage-angular';
import { NgChartsModule } from 'ng2-charts';
import { Calendar } from '@awesome-cordova-plugins/calendar/ngx';




@NgModule({
  declarations: [AppComponent],
  entryComponents: [],
  imports: [IonicStorageModule.forRoot(), BrowserModule, IonicModule.forRoot(), AppRoutingModule, NgChartsModule.forRoot()],
  providers: [Health, Calendar,  { provide: RouteReuseStrategy, useClass: IonicRouteStrategy }],
  bootstrap: [AppComponent],
})
export class AppModule {}
