I need to conditionally add an extra html as a div content. For now I did it this way:
before:
<div *ngFor="let cell of cells" class="cell"
[innerHTML]="cell.dataWithHtml"
></div>
after:
<div *ngFor="let cell of cells" class="cell">
<img *ngIf="cell.isSpecial" src="whatever"/>
<div class="this_div_should_not_exist" [innerHTML]="cell.dataWithHtml"></div>
</div>
But this adds an extra div.
How this block can be rewritten without adding extra div?