title: How to set radio button selected by default in angular 8?
body: <p>I am very new to angular 8 technology and have some problem setting one of the radio button checked by default.</p>
  
  <p>I have tried to add some of these attributes <code>[checked]="true", checked</code> but problem is still the same.</p>
  
  <p>HTML</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="form-check"&gt;
      &lt;mat-radio-button type="radio" id="materialUnchecked" name="filterType" 
          value="0" [(ngModel)]="filterType" [checked]="true"&gt;
          By client
      &lt;/mat-radio-button&gt;
  
      &lt;mat-radio-button type="radio" id="materialChecked" name="filterType" 
          value="1" [(ngModel)]="filterType"&gt;
          By student
      &lt;/mat-radio-button&gt;
      &lt;br&gt;&lt;br&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>TS</p>
  
  <pre><code>protected filterType;
  </code></pre>
  
  <p>Any help would be appreciated. Thanks</p>