fix(sfx): Include ngHttp in SFX bundle

fixes: #3934

Closes #3933
This commit is contained in:
Alfonso Presa 2015-09-01 11:57:59 +02:00 committed by Jeff Cross
parent 390aacd442
commit 283415beab
1 changed files with 4 additions and 2 deletions

View File

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