2017-01-18 17:51:06 -05:00
|
|
|
import { NgModule, ErrorHandler } from '@angular/core';
|
2017-08-22 10:25:12 -04:00
|
|
|
import { BrowserModule} from '@angular/platform-browser';
|
|
|
|
import { HttpModule } from '@angular/http';
|
2017-01-16 21:36:22 -05:00
|
|
|
|
|
|
|
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
|
2017-08-22 10:25:12 -04:00
|
|
|
import { IonicStorageModule } from '@ionic/storage';
|
|
|
|
|
|
|
|
import { StatusBar } from '@ionic-native/status-bar';
|
|
|
|
import { SplashScreen } from '@ionic-native/splash-screen';
|
2017-01-16 21:36:22 -05:00
|
|
|
|
|
|
|
import { MyApp } from './app.component';
|
|
|
|
|
2017-01-18 17:51:06 -05:00
|
|
|
import { SearchPage } from "../pages/search/search";
|
|
|
|
import { SettingsPage } from "../pages/settings/settings";
|
2017-01-28 11:42:48 -05:00
|
|
|
import { HelpPage } from "../pages/help/help";
|
2017-01-16 21:36:22 -05:00
|
|
|
|
2017-01-18 17:51:06 -05:00
|
|
|
import { ComponentLoader } from "../components/component-loader/component-loader";
|
|
|
|
import { Passage } from "../components/passage/passage";
|
|
|
|
import { Strongs } from "../components/strongs/strongs";
|
|
|
|
import { Words } from "../components/words/words";
|
|
|
|
import { Error } from "../components/error/error";
|
|
|
|
import { StrongsModal } from "../components/strongs-modal/strongs-modal";
|
2017-01-26 22:26:48 -05:00
|
|
|
import { ErrorMessage } from '../components/error-message/error-message';
|
2017-01-16 21:36:22 -05:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
MyApp,
|
|
|
|
SearchPage,
|
|
|
|
SettingsPage,
|
2017-01-28 11:42:48 -05:00
|
|
|
HelpPage,
|
2017-01-16 21:36:22 -05:00
|
|
|
ComponentLoader,
|
|
|
|
Passage,
|
|
|
|
Strongs,
|
|
|
|
StrongsModal,
|
|
|
|
Words,
|
2017-01-26 22:26:48 -05:00
|
|
|
Error,
|
|
|
|
ErrorMessage
|
2017-01-16 21:36:22 -05:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
IonicModule.forRoot(MyApp),
|
2017-08-22 10:25:12 -04:00
|
|
|
IonicStorageModule.forRoot(),
|
2017-01-16 21:36:22 -05:00
|
|
|
BrowserModule,
|
2017-08-22 10:25:12 -04:00
|
|
|
HttpModule
|
2017-01-16 21:36:22 -05:00
|
|
|
],
|
|
|
|
bootstrap: [IonicApp],
|
|
|
|
entryComponents: [
|
|
|
|
MyApp,
|
|
|
|
SearchPage,
|
|
|
|
SettingsPage,
|
2017-01-28 11:42:48 -05:00
|
|
|
HelpPage,
|
2017-01-16 21:36:22 -05:00
|
|
|
Passage,
|
|
|
|
Strongs,
|
|
|
|
StrongsModal,
|
|
|
|
Words,
|
2017-01-26 22:26:48 -05:00
|
|
|
Error,
|
|
|
|
ErrorMessage
|
2017-01-16 21:36:22 -05:00
|
|
|
],
|
2017-08-22 10:25:12 -04:00
|
|
|
providers: [{ provide: ErrorHandler, useClass: IonicErrorHandler }, StatusBar, SplashScreen]
|
2017-01-16 21:36:22 -05:00
|
|
|
})
|
2017-08-22 10:25:12 -04:00
|
|
|
export class AppModule { }
|