Advertisement
Guest User

app module

a guest
Mar 21st, 2017
174
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import {Transfer} from '@ionic-native/transfer';
  2.  
  3. import { NgModule, ErrorHandler } from '@angular/core';
  4. import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
  5. import { MyApp } from './app.component';
  6.  
  7.  
  8. import { FileTransferProv } from "../providers/file-transfer-prov";
  9.  
  10. //PAGES
  11.  
  12.  
  13. //PROVIDERS
  14.  
  15.  
  16. import { Storage } from '@ionic/storage';
  17.  
  18.  
  19.  
  20. @NgModule({
  21. declarations: [
  22. MyApp,
  23. TabsPage
  24. ],
  25. imports: [
  26. IonicModule.forRoot(MyApp)
  27. ],
  28. bootstrap: [IonicApp],
  29. entryComponents: [
  30. MyApp,
  31. TabsPage
  32. ],
  33. providers: [{ provide: ErrorHandler, useClass: IonicErrorHandler }, Storage, FileTransferProv, Transfer]
  34. })
  35. export class AppModule { }
Advertisement
RAW Paste Data Copied
Advertisement