Angular - Directives
Given this Angular template snippet:
What happens when the button is clicked twice starting with
<div *ngIf="showMessage">Welcome!</div> <button (click)="showMessage = !showMessage">Toggle</button>
What happens when the button is clicked twice starting with
showMessage = true?