Created
January 8, 2018 23:00
Star
You must be signed in to star a gist
Using <ng-container>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ng-container> | |
You can see me! (Without any help from structural directives) | |
</ng-container> | |
<table> | |
<tbody> | |
<ng-container *ngFor="let item of items"> | |
<tr *ngIf="item > 1"> | |
<td>{{item}}</td> | |
</tr> | |
</ng-container> | |
</tbody> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment