how to check in *ngif string type value code example Example: ngif is string angular <div *ngIf="item==='somevalue'">