diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 4091bd54c..520c605c9 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,6 +3,7 @@ import { ErrorHandler, NgModule } from '@angular/core'; import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular'; import { SplashScreen } from '@ionic-native/splash-screen'; import { StatusBar } from '@ionic-native/status-bar'; +import { AgmCoreModule } from '@agm/core'; import { MomentModule } from 'angular2-moment'; import { ChatsPage } from '../pages/chats/chats'; import { NewChatComponent } from '../pages/chats/new-chat'; @@ -30,7 +31,10 @@ import { MyApp } from './app.component'; imports: [ BrowserModule, IonicModule.forRoot(MyApp), - MomentModule + MomentModule, + AgmCoreModule.forRoot({ + apiKey: 'AIzaSyAWoBdZHCNh5R-hB5S5ZZ2oeoYyfdDgniA' + }) ], bootstrap: [IonicApp], entryComponents: [