2017-04-03 20:33:18 +00:00
|
|
|
import { NgModule, ErrorHandler } from '@angular/core';
|
|
|
|
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
|
|
|
|
import { MyApp } from './app.component';
|
|
|
|
import { Page1 } from '../pages/page1/page1';
|
|
|
|
import { Page2 } from '../pages/page2/page2';
|
2017-04-08 20:32:14 +00:00
|
|
|
import { SocialSharing } from "@ionic-native/social-sharing";
|
2017-04-03 20:33:18 +00:00
|
|
|
import { StatusBar } from '@ionic-native/status-bar';
|
|
|
|
import { SplashScreen } from '@ionic-native/splash-screen';
|
2017-04-19 21:04:41 +00:00
|
|
|
|
2017-04-07 00:17:25 +00:00
|
|
|
import { SocialSharingService } from "../service/socialsharing/socialsharingservice";
|
2017-04-08 20:32:14 +00:00
|
|
|
import { StarterService } from "../service/starter-service/starter.service";
|
|
|
|
import { UnitService } from "../service/dao-service/unit.service";
|
|
|
|
import { PageListUnit } from "../pages/unitviews/pages/page-list-unit";
|
|
|
|
import { ModalCadastroUnit } from "../pages/unitviews/modals/modal-cadastro-unit/modal-cadastro-unit";
|
2017-04-19 21:04:41 +00:00
|
|
|
import { PageListProduct } from "../pages/productviews/pages/page-list-product/page-list-product";
|
|
|
|
import { ModalCadastroProduct } from "../pages/productviews/modal/modal-cadastro-product/modal-cadastro-product";
|
2017-04-20 02:31:51 +00:00
|
|
|
import { ProductService } from "../service/dao-service/product.service";
|
2017-04-08 20:32:14 +00:00
|
|
|
|
2017-04-07 00:17:25 +00:00
|
|
|
|
2017-04-03 20:33:18 +00:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
MyApp,
|
|
|
|
Page1,
|
2017-04-08 20:32:14 +00:00
|
|
|
Page2,
|
2017-04-19 21:04:41 +00:00
|
|
|
PageListUnit,
|
|
|
|
ModalCadastroUnit, PageListProduct, ModalCadastroProduct
|
2017-04-03 20:33:18 +00:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
IonicModule.forRoot(MyApp)
|
|
|
|
],
|
|
|
|
bootstrap: [IonicApp],
|
|
|
|
entryComponents: [
|
|
|
|
MyApp,
|
|
|
|
Page1,
|
2017-04-08 20:32:14 +00:00
|
|
|
Page2,
|
2017-04-19 21:04:41 +00:00
|
|
|
PageListUnit,
|
|
|
|
ModalCadastroUnit, PageListProduct, ModalCadastroProduct
|
2017-04-03 20:33:18 +00:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
StatusBar,
|
|
|
|
SplashScreen,
|
2017-04-07 00:17:25 +00:00
|
|
|
SocialSharing,
|
2017-04-20 02:31:51 +00:00
|
|
|
SocialSharingService, StarterService, UnitService, ProductService,
|
2017-04-07 00:17:25 +00:00
|
|
|
{ provide: ErrorHandler, useClass: IonicErrorHandler }
|
2017-04-03 20:33:18 +00:00
|
|
|
]
|
|
|
|
})
|
2017-04-07 00:17:25 +00:00
|
|
|
export class AppModule { }
|