Doubt with HTTP_PROVIDERS


#1

I am using version 2.1.18 - ionic

In the previous version I had “app.ts” now I have “app.component.ts”, to add “HTTP_PROVIDERS” I did so:

Import {HTTP_PROVIDERS} from ‘angular2 / http’;

The problem: Before I had: ionicBoostrap (MyApp, [HTTP_PROVIDERS]); And now, where can I declare this [HTTP_PROVIDERS]?


#2

Nowhere. You shouldn’t need to do anything unless this changes.