app.module.ts

import { NgModule, ErrorHandler } from '@angular/core';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { BackandService } from '@backand/angular2-sdk';

import { AppComponent } from './app.component';
import { SlidesComponent } from './components/slides/slides.component';
import { HomeComponent } from './components/home/home.component';

@NgModule({
    bootstrap: [IonicApp],
    declarations: [
        AppComponent,
        HomeComponent,
        SlidesComponent
    ],
    imports: [
        IonicModule.forRoot(AppComponent)
    ],
    entryComponents: [
        AppComponent,
        HomeComponent,
        SlidesComponent
    ],
    providers: [
        {provide: ErrorHandler, useClass: IonicErrorHandler},
        BackandService
    ]
})
export class AppModule {}