X Tutup
Skip to content

Commit 283415b

Browse files
alfonso-presajeffbcross
authored andcommitted
fix(sfx): Include ngHttp in SFX bundle
fixes: #3934 Closes #3933
1 parent 390aacd commit 283415b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/angular2/angular2_sfx.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
import * as ng from './angular2';
2-
// the router should have its own SFX bundle
3-
// But currently the module arithmetic 'angular2/router_sfx - angular2/angular2',
2+
// the router and http should have their own SFX bundle
3+
// But currently the module arithemtic 'angular2/router_sfx - angular2/angular2',
44
// is not support by system builder.
55
import * as router from './router';
6+
import * as http from './http';
67

78
var _prevNg = (<any>window).ng;
89

910
(<any>window).ng = ng;
1011

1112

1213
(<any>window).ngRouter = router;
14+
(<any>window).ngHttp = http;
1315
/**
1416
* Calling noConflict will restore window.angular to its pre-angular loading state
1517
* and return the angular module object.

0 commit comments

Comments
 (0)
X Tutup