title: How to enable and disable the input file when switching radiobatton?
body: <p>I have a form, and I need to unable and disable control  in the same form depending on the radio button position</p>
  
  <pre><code>&lt;form [formGroup]="service.form" #signUpForm="ngForm" class="normal-form"&gt;
      --------------------------------------------------------------
      &lt;mat-radio-group formControlName="role"&gt;
          &lt;mat-radio-button value="1"&gt;Patient&lt;/mat-radio-button&gt;
          &lt;mat-radio-button value="2"&gt;Doctor&lt;/mat-radio-button&gt;
       &lt;/mat-radio-group&gt;
      --------------------------------------------------------------
      &lt;input type="file" #Image accept="image/*" [disabled]="service.form.role==1"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>How do I do this?</p>