mat-checkbox' is an Angular component and it has 'ngModel code example
Example: angular ngmodel checkbox
<input
type="checkbox"
[checked]="saveUsername"
(change)="saveUsername = !saveUsername"/>
<input
type="checkbox"
[checked]="saveUsername"
(change)="saveUsername = !saveUsername"/>