Skip to content

Commit

Permalink
fix(sfx): Include ngHttp in SFX bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonso-presa authored and robwormald committed Sep 25, 2015
1 parent 5606f09 commit f0a8d91
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/angular2/angular2_sfx.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
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 = (<any>window).ng;

(<any>window).ng = ng;


(<any>window).ngRouter = router;
(<any>window).ngHttp = http;
/**
* Calling noConflict will restore window.angular to its pre-angular loading state
* and return the angular module object.
Expand Down

0 comments on commit f0a8d91

Please sign in to comment.