diff --git a/modules/angular2/angular2_sfx.ts b/modules/angular2/angular2_sfx.ts index 150204d0d4..7bebd9007b 100644 --- a/modules/angular2/angular2_sfx.ts +++ b/modules/angular2/angular2_sfx.ts @@ -1,8 +1,9 @@ import * as ng from './angular2'; -// the router should have its own SFX bundle -// But currently the module arithmetic 'angular2/router_sfx - angular2/angular2', +// the router and http should have their own SFX bundle +// But currently the module arithemtic 'angular2/router_sfx - angular2/angular2', // is not support by system builder. import * as router from './router'; +import * as http from './http'; var _prevNg = (window).ng; @@ -10,6 +11,7 @@ var _prevNg = (window).ng; (window).ngRouter = router; +(window).ngHttp = http; /** * Calling noConflict will restore window.angular to its pre-angular loading state * and return the angular module object.