this issue was discovered in g3 and the patch was confirmed there. we should add a test as a followup up change.
<ng-template>
<template>
template
if