title: Using NgModel to bind to radio group input for Angular Material
body: <p>I have a radio group that I want to set the value of from my component code. However I cannot seem to set the initial value using <code>[(ngModel)]</code>. I don't get any errors or anything to show why it is not showing the radio button selected.</p>
  <pre><code>&lt;div class=&quot;form-group&quot;&gt;
    &lt;mat-radio-group  [(ngModel)]=&quot;selectedStatus&quot; formControlName=&quot;completed&quot;&gt;
      &lt;mat-radio-button  [value]=&quot;1&quot;&gt;Call Complete&lt;/mat-radio-button&gt;
      &lt;mat-radio-button [value]=&quot;2&quot;&gt;Call Incomplete&lt;/mat-radio-button&gt;
    &lt;/mat-radio-group&gt;
  &lt;/div&gt;
  </code></pre>
  <p>Component code snippets:</p>
  <pre><code>selectedStatus: Array&lt;string&gt;;
  
  private initForm() {
      this.eventEditForm = new FormGroup({          
        'completed': new FormControl()
        });          
        this.selectedStatus = this.data[0].completed;
      }
  </code></pre>
  <p><code>this.data[0].completed</code> returns 1 or 2 from a data service.</p>