You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
While working on the NgIf API docs we first thought about documenting:
<single-root *ngIf=exp>
`<template [ngIf]=exp>
However this is confusing, we will drop the <template []> notation from the API docs - note that it will still be supported and there is no plan to remove the support.
The preferred way will be <ng-container *ngIf=exp><root1><root2></ng-container>
The <ng-container> tag is used to group nodes together and is not stamped out in the resulting DOM. It is not a directive but a special angular construct.
We think that this change will remove some confusion and hard to remember syntax.