I am very new to angular 8 technology and have some problem setting one of the radio button checked by default.
I have tried to add some of these attributes [checked]="true", checked but problem is still the same.
HTML
<div class="form-check">
    <mat-radio-button type="radio" id="materialUnchecked" name="filterType" 
        value="0" [(ngModel)]="filterType" [checked]="true">
        By client
    </mat-radio-button>
    <mat-radio-button type="radio" id="materialChecked" name="filterType" 
        value="1" [(ngModel)]="filterType">
        By student
    </mat-radio-button>
    <br><br>
</div>
TS
protected filterType;
Any help would be appreciated. Thanks
 
     
     
    