@mbamobi/http-plugins-ionic
v3.1.0
Published
Plugins HTTP additionals to projects ionic
Downloads
34
Readme
HttpPluginsIonicModule
This extends of http
Using HttpPluginsIonicModule in an Ionic 2 app
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