Created
January 8, 2018 23:00
-
-
Save natmegs/eeb671314212e1b141aafdb120d5cb2c to your computer and use it in GitHub Desktop.
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