Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { ProgressBarComponent } from '../components/progress-bar/progress-bar';
@NgModule({
declarations: [
MyApp,
HomePage,
TabsPage,
CameraPage,
ImagePickerPage,
UploadExamplePage,
AboutPage,
ProgressBarComponent
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage,
TabsPage,
CameraPage,
ImagePickerPage,
UploadExamplePage,
AboutPage
],
// We are using the custom written prodvider
// here instead of the array that is normally
// added here
providers: AppProvider.get_providers()
})
WelcomePage,
AboutPage,
ContactPage,
HomePage,
ProjectPage,
CommitsPage,
DashboardPage,
ProfilePage,
LeaderboardsPage,
LeaderdetailPage,
UseragentsPage
],
imports: [
BrowserModule,
HttpModule,
IonicModule.forRoot(AuthApp)
],
bootstrap: [IonicApp],
entryComponents: [
AuthApp,
WelcomePage,
AboutPage,
ContactPage,
HomePage,
ProjectPage,
CommitsPage,
DashboardPage,
ProfilePage,
LeaderboardsPage,
LeaderdetailPage,
UseragentsPage
],
import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
import { StatusBar } from '@ionic-native/status-bar/ngx';
import { Dialogs } from '@ionic-native/dialogs/ngx';
import { MyApp } from './app.component';
@NgModule({
declarations: [
MyApp
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp
],
providers: [
StatusBar,
SplashScreen,
Dialogs,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
export class AppModule {}
import { SplashScreen } from "@ionic-native/splash-screen";
import { StatusBar } from "@ionic-native/status-bar";
import { BrowserModule } from '@angular/platform-browser';
@NgModule({
declarations: [
MyApp,
AboutPage,
ContactPage,
HomePage,
TabsPage,
ItemDetailsPage
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
AboutPage,
ContactPage,
HomePage,
TabsPage,
ItemDetailsPage
],
providers: [
SocialSharing,
Deeplinks,
SplashScreen,
StatusBar
]
import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';
import { Electron } from '../providers/electron'
@NgModule({
declarations: [
MyApp,
HomePage,
ListPage
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp),
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage,
ListPage
],
providers: [
StatusBar,
SplashScreen,
Electron,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
export class AppModule {}
import { PagesModule, HomePage, BlocksPage, NodeStatusPage, VerifyMessagePage } from '../pages';
import { BlocksService, StorageService } from '../services';
import { ApiProvider } from '../providers/api/api';
import { CurrencyProvider } from '../providers/currency/currency';
import { BlocksProvider } from '../providers/blocks/blocks';
import { TxsProvider } from '../providers/transactions/transactions';
@NgModule({
declarations: [
InsightApp
],
imports: [
BrowserModule,
HttpModule,
PagesModule,
IonicModule.forRoot(InsightApp)
],
bootstrap: [IonicApp],
entryComponents: [
InsightApp,
HomePage,
BlocksPage,
NodeStatusPage,
VerifyMessagePage
],
providers: [
StatusBar,
SplashScreen,
StorageService,
BlocksService,
{provide: ErrorHandler, useClass: IonicErrorHandler},
ApiProvider,
import {PasswordPage} from "../pages/password/password";
import {SplashScreen} from '@ionic-native/splash-screen';
import {StatusBar} from '@ionic-native/status-bar';
import {TodoProvider} from "../providers/todo/todo";
@NgModule({
declarations: [
MyApp,
HomePage,
EditPage,
PasswordPage
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp),
IonicStorageModule.forRoot({name: 'todo', driverOrder: ['sqlite', 'indexeddb']})
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage,
EditPage,
PasswordPage
],
providers: [
StatusBar,
SplashScreen,
{provide: ErrorHandler, useClass: IonicErrorHandler},
TodoProvider
]
})
import { IonicStorageModule } from '@ionic/storage';
import { HttpClientModule } from '@angular/common/http';
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
import { MyApp } from './app.component';
import { HoldingsProvider } from '../providers/holdings/holdings';
import { UserProvider } from '../providers/user/user';
@NgModule({
declarations: [
MyApp
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp, {
preloadModules: true
}),
IonicStorageModule.forRoot(),
HttpClientModule
],
bootstrap: [IonicApp],
entryComponents: [
MyApp
],
providers: [
StatusBar,
SplashScreen,
{provide: ErrorHandler, useClass: IonicErrorHandler},
HoldingsProvider,
UserProvider
]
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
@NgModule({
declarations: [
MyApp,
AboutPage,
ContactPage,
HomePage,
TabsPage,
PostDetail
],
imports: [
BrowserModule,
HttpModule,
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
AboutPage,
ContactPage,
HomePage,
TabsPage,
PostDetail
],
providers: [
{provide: ErrorHandler, useClass: IonicErrorHandler},
SplashScreen,
StatusBar
]
})