Created
March 29, 2019 12:55
-
-
Save ovpv/5de0db14baa27742cff5d6203e70b4ab to your computer and use it in GitHub Desktop.
app.module file after including all packages and services required for app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { PdfViewerService } from "./services/pdf-viewer.service"; | |
import { FileOpener } from "@ionic-native/file-opener/ngx"; | |
import { File } from "@ionic-native/file/ngx"; | |
import { FileTransfer } from "@ionic-native/file-transfer/ngx"; | |
import { NgModule } from "@angular/core"; | |
import { BrowserModule } from "@angular/platform-browser"; | |
import { RouteReuseStrategy } from "@angular/router"; | |
import { IonicModule, IonicRouteStrategy } from "@ionic/angular"; | |
import { SplashScreen } from "@ionic-native/splash-screen/ngx"; | |
import { StatusBar } from "@ionic-native/status-bar/ngx"; | |
import { AppComponent } from "./app.component"; | |
import { AppRoutingModule } from "./app-routing.module"; | |
@NgModule({ | |
declarations: [AppComponent], | |
entryComponents: [], | |
imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule], | |
providers: [ | |
StatusBar, | |
SplashScreen, | |
FileTransfer, | |
FileOpener, | |
File, | |
PdfViewerService, | |
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy } | |
], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment