<div *ngIf="!show"> <div>show is false</div> </div> <div *ngIf="show"> <div>show is ture</div> </div>