58 lines
1.9 KiB
TypeScript
58 lines
1.9 KiB
TypeScript
/**
|
|
* OpenVoti - Unofficial client for the Argo Scuolanext eDiary
|
|
* Copyright (C) 2017 Claudio Maggioni
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
**/
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { ErrorHandler, NgModule } from '@angular/core';
|
|
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
|
|
import { IonicStorageModule } from '@ionic/storage';
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
import { MyApp } from './app.component';
|
|
import { HomePage } from '../pages/home/home';
|
|
import { ConfigPage } from '../pages/config/config';
|
|
import { SubjectComponent } from '../components/subject/subject';
|
|
import { StatusBar } from '@ionic-native/status-bar';
|
|
import { SplashScreen } from '@ionic-native/splash-screen';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
MyApp,
|
|
HomePage,
|
|
ConfigPage,
|
|
SubjectComponent
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
BrowserAnimationsModule,
|
|
IonicModule.forRoot(MyApp),
|
|
IonicStorageModule.forRoot(),
|
|
],
|
|
bootstrap: [IonicApp],
|
|
entryComponents: [
|
|
MyApp,
|
|
HomePage,
|
|
ConfigPage,
|
|
SubjectComponent
|
|
],
|
|
providers: [
|
|
StatusBar,
|
|
SplashScreen,
|
|
{ provide: ErrorHandler, useClass: IonicErrorHandler }
|
|
]
|
|
})
|
|
export class AppModule { }
|