angular-docs-cn/modules/@angular/core
Martin Probst ebc8e808a9 feat(router): register NgModuleFactory objects. (#11211)
When lazily loading code, users need to be able to get hold of the
NgModuleFactory. For SystemJS environments, the SystemJS registry serves
this purpose. However other environments, such as modules compiled with
Closure compiler, do not expose exports object or a path based registry.

For these environments, `@NgModule` objects can include an identifier, and
the loading code can then pass `loadModule(id).then(() =>
getNgModule(id))` to the router.
2016-09-01 13:46:08 -07:00
..
src feat(router): register NgModuleFactory objects. (#11211) 2016-09-01 13:46:08 -07:00
test feat(router): register NgModuleFactory objects. (#11211) 2016-09-01 13:46:08 -07:00
testing fix(packages): use ES modules for primary build (#11120) 2016-08-30 18:07:40 -07:00
index.ts fix(packages): use ES modules for primary build (#11120) 2016-08-30 18:07:40 -07:00
package.json fix(packages): use ES modules for primary build (#11120) 2016-08-30 18:07:40 -07:00
rollup-testing.config.js fix(bundles): correct RxJS mapping in rollup config for umd/es5 bundles 2016-08-30 21:07:45 -07:00
rollup.config.js fix(bundles): correct RxJS mapping in rollup config for umd/es5 bundles 2016-08-30 21:07:45 -07:00
tsconfig-testing.json fix(packages): use ES modules for primary build (#11120) 2016-08-30 18:07:40 -07:00
tsconfig.json fix(packages): use ES modules for primary build (#11120) 2016-08-30 18:07:40 -07:00