You can use the <ng-container> helper element for that.
<ng-container *ngFor="let item of headerItems" >
<td *ngIf="item.visible">{{ item?.name }}</td>
</ng-container>
It is not added to the DOM.
You can use the <ng-container> helper element for that.
<ng-container *ngFor="let item of headerItems" >
<td *ngIf="item.visible">{{ item?.name }}</td>
</ng-container>
It is not added to the DOM.