Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using <ng-container>
<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
You can’t perform that action at this time.