ngIf id code example Example: ng if else Content to render when condition is true. Content to render when condition is false.