From 4b2eed7e59fd1fe2140a1f056654a0d2e2eb5002 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Sun, 18 Oct 2015 22:15:20 +0100 Subject: [PATCH] auto provide HTTP_PROVIDERS --- ionic/config/bootstrap.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ionic/config/bootstrap.ts b/ionic/config/bootstrap.ts index af1c43345e..9619151f7a 100644 --- a/ionic/config/bootstrap.ts +++ b/ionic/config/bootstrap.ts @@ -1,5 +1,6 @@ import {bootstrap, provide} from 'angular2/angular2'; import {ROUTER_PROVIDERS, LocationStrategy, HashLocationStrategy} from 'angular2/router'; +import {HTTP_PROVIDERS} from 'angular2/http'; import {IonicApp} from '../components/app/app'; import {Config} from './config'; @@ -60,6 +61,7 @@ export function ionicProviders(config) { NavRegistry, ROUTER_PROVIDERS, provide(LocationStrategy, {useClass: HashLocationStrategy}), + HTTP_PROVIDERS, ]; }