Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { HttpClientModule } from '@angular/common/http';
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';
import { PostTestService } from './post-test/post-test.service';
import { IonicAngularModule, IonicRouterModule } from '@ionic/angular';
@NgModule({
declarations: [AppComponent],
imports: [
AppRoutingModule,
BrowserModule,
HttpClientModule,
IonicAngularModule.forRoot(),
IonicRouterModule.forRoot()
],
bootstrap: [AppComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
providers: [PostTestService]
})
export class AppModule { }
import { AppComponent } from './app.component';
import { ConferenceData } from './providers/conference-data';
import { UserData } from './providers/user-data';
@NgModule({
declarations: [
AppComponent,
],
imports: [
AppRoutingModule,
BrowserModule,
HttpModule,
IonicAngularModule.forRoot(),
IonicStorageModule.forRoot(),
IonicRouterModule.forRoot(),
],
providers: [
ConferenceData,
InAppBrowser,
SplashScreen,
UserData
],
bootstrap: [AppComponent],
schemas: [
CUSTOM_ELEMENTS_SCHEMA
]
})
export class AppModule { }