mirror of
https://github.com/angular/angular.git
synced 2026-11-24 15:37:51 -05:00
Currently whenever we insert element we do it directly on the node using `appendChild` or `insertBefore`, however this doesn't work with `<template>` elements where the `template.content` has to be used. These changes add a few checks to call `appendChild` and `insertBefore` on the `content` of the template. Fixes #15557. PR Close #43429