title: How to select radio button with ngFor inside each row having two radio buttons
body: <p>This section contains HTML side to show <em>how I am iterating over an <strong>array of object</em></strong></p>
  
  <hr>
  
  <pre><code>&lt;div class="row" *ngFor="let item of modules; let i = index;"&gt;
                                          &lt;div class="col-md-1 align-center"&gt;{{i+1}}&lt;/div&gt;
                                          &lt;div class="col-md-5"&gt;
                                              &lt;input type="text" class="form-control" [(ngModel)]="modules[i].module_name" value="{{modules[i].module_name}}"
                                               disabled&gt;
                                          &lt;/div&gt;
                                          &lt;div class="col-md-2"&gt;
                                              &lt;input type="radio" class="form-control" [(ngModel)]="modules[i].action.read" name="access" [value]="modules[i].action.read"&gt;
                                          &lt;/div&gt;
                                          &lt;div class="col-md-2"&gt;
                                              &lt;input type="radio" class="form-control" [(ngModel)]="modules[i].action.write" name="access" [value]="modules[i].action.write"&gt;
                                          &lt;/div&gt;
                                          &lt;div class="col-md-2"&gt;
                                              &lt;input type="checkbox" class="form-control" [(ngModel)]="modules[i].flag"&gt;
                                          &lt;/div&gt;
                                      &lt;/div&gt;
  </code></pre>
  
  <p>Here is the object for refrence i am using some array of objects</p>
  
  <pre><code>    modules = [{
      company_id: '0',
      role_id: 'xyz',
      module_name: 'xyz',
      action: {
          write: false,
          read: false
      },
      flag:false
    },{
      company_id: '0',
      role_id: 'xyz',
      module_name: 'xyt',
      action: {
          write: false,
          read: false
      },
      flag:false
    }];
  </code></pre>