Skip to content

Instantly share code, notes, and snippets.

@geykel
Last active August 10, 2017 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geykel/e88119f347b74d7f12240455d6f4aeba to your computer and use it in GitHub Desktop.
Save geykel/e88119f347b74d7f12240455d6f4aeba to your computer and use it in GitHub Desktop.
import { BrowserModule } from '@angular/platform-browser';
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 { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
import { Geolocation } from '@ionic-native/geolocation';
import { GoogleMaps } from '../providers/google-maps/google-maps';
@NgModule({
declarations: [
MyApp,
HomePage
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage
],
providers: [
StatusBar,
SplashScreen,
Geolocation,
{ provide: ErrorHandler, useClass: IonicErrorHandler },
GoogleMaps
]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment