angular mat checkbox ng model code example
Example: angular ngmodel checkbox
<input
type="checkbox"
[checked]="saveUsername"
(change)="saveUsername = !saveUsername"/>
<input
type="checkbox"
[checked]="saveUsername"
(change)="saveUsername = !saveUsername"/>