angular-docs-cn/tools/public_api_guard/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
..
testing fix(packages): use ES modules for primary build (#11120) 2016-08-30 18:07:40 -07:00
index.d.ts feat(router): register NgModuleFactory objects. (#11211) 2016-09-01 13:46:08 -07:00