Skip to content

Instantly share code, notes, and snippets.

@krunal
Created July 10, 2017 06:27
Show Gist options
  • Save krunal/3f35a3ddadc2d08533bcdf06e2d37816 to your computer and use it in GitHub Desktop.
Save krunal/3f35a3ddadc2d08533bcdf06e2d37816 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 { BluetoothSerial } from '@ionic-native/bluetooth-serial';
import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
@NgModule({
declarations: [
MyApp,
HomePage
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage
],
providers: [
StatusBar,
SplashScreen,
BluetoothSerial,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment