angular-cn/aio/content
George Kalpakas 93837e9545 feat(upgrade): support downgrading multiple modules (#26217)
Currently, calling `downgradeModule()` more than once is not supported.
If one wants to downgrade multiple Angular modules, they can create a
"super-module" that imports all the rest and downgrade that.

This commit adds support for downgrading multiple Angular modules. If
multiple modules are downgraded, then one must explicitly specify the
downgraded module that each downgraded component or injectable belongs
to, when calling `downgradeComponent()` and `downgradeInjectable()`
respectively.

No modification is needed (i.e. there is no need to specify a module for
downgraded components and injectables), if an app is not using
`downgradeModule()` or if there is only one downgraded Angular module.

Fixes #26062

PR Close #26217
2018-11-05 16:33:55 -08:00
..
cli docs: minor edits and corrections to cli intro (#26654) 2018-11-02 13:22:09 -07:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
examples docs: fix typo (#26776) 2018-10-30 16:24:13 -04:00
guide feat(upgrade): support downgrading multiple modules (#26217) 2018-11-05 16:33:55 -08:00
images docs(core): update security guide sanitize example (#26777) 2018-10-26 12:31:49 -04:00
marketing feat(docs-infra): add getting started widgets (#26059) 2018-11-02 10:34:53 -07:00
tutorial fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
file-not-found.md feat(aio): add search to 404 page (#19682) 2017-10-13 09:18:42 -07:00
license.md docs(common): update copyright years (#21232) 2018-01-04 17:45:36 -05:00
navigation.json docs: configuration file reference (#26484) 2018-10-30 13:44:52 -04:00