if else statement in html code code example
Example: html if else statement example
<div *ngIf="!show">
<div>show is false</div>
</div>
<div *ngIf="show">
<div>show is ture</div>
</div>
<div *ngIf="!show">
<div>show is false</div>
</div>
<div *ngIf="show">
<div>show is ture</div>
</div>