This extends of http
import { NgModule } from '@angular/core';
import { IonicApp, IonicModule } from 'ionic-angular';
import { MyApp } from './app.component';
// Import http module
import { HttpModule, DefaultPlugins } from '@mbamobi/http';
// Import http plugins ionic
import { HttpPluginsIonicModule } from '@mbamobi/http-plugins-ionic';
@NgModule({
declarations: [
MyApp
],
imports: [
IonicModule.forRoot(MyApp),
HttpModule.initialize(DefaultPlugins), // http module with plugin parseResponse
HttpPluginsIonicModule
],
bootstrap: [IonicApp],
entryComponents: [
MyApp
]
})
export class AppModule {}
Contributing
See CONTRIBUTING.md