mirror of
https://github.com/angular/angular.git
synced 2026-11-26 00:17:51 -05:00
74cb57521926f17fdca876de2b57fed11542e559
Previously, downgraded component adapters were compiling and projecting the contents of the template element instead of the link-element. This didn't make any difference is most cases (as the elements are the same), but broke with structural directives (e.g. `ngRepeat`), which compile the orginal (template) element once and then create and link clones of it. This commit fixes it by always compiling and projecting the contents of the correct (link) element. Fixes #14260
fix(upgrade): correctly project content on downgraded components with structural directives (#14274)
Safari (7+), iOS (7+), Edge (14) and IE mobile (11) are tested on BrowserStack.
Angular
Angular is a development platform for building mobile and desktop web applications. This is the repository for Angular 2 Typescript/JavaScript (JS).
Angular2 for Dart can be found at dart-lang/angular2.
Quickstart
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Languages
TypeScript
72.9%
JavaScript
15.6%
Rust
6.9%
HTML
1.6%
Starlark
1.6%
Other
1.4%