title: how to make a dynamic radio-group button in ionic ngfor and pass to typescript what the user selected
body: <p>API end point</p>
  
  <p><a href="http://questionaires.itresourcesgroup.com.au/public/networking" rel="nofollow noreferrer">http://questionaires.itresourcesgroup.com.au/public/networking</a></p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;form (ngSubmit)="submitNetworkingForm()"&gt;
       &lt;div  *ngFor="let item of networkingdata;let i = index;" &gt;
                             &lt;ion-list  *ngFor="let inner of item;let b = index;" radio-group [(ngModel)]="answers" name="answers" &gt;
                                     &lt;ion-label&gt;{{b}} . {{inner[i][b].question}}&lt;/ion-label&gt;
                                        &lt;ion-item   *ngFor="let innermost of inner[i];let c = index;"&gt;
                                          &lt;ion-label&gt; {{innermost.answer}}&lt;/ion-label&gt;
                                          &lt;ion-radio  [value]="innermost.answer"&gt;&lt;/ion-radio&gt;
                                        &lt;/ion-item&gt;
  
                              &lt;/ion-list&gt;
                      &lt;/div&gt;
  
                  &lt;button ion-button type="submit"&gt;Submit&lt;/button&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>I want to make the model dynamic. Something like this in php:</p>
  
  <pre><code>echo '&lt;input type="radio" name="salutation_description[]" value="'.$row1[0].'"/&gt;'  
  </code></pre>
  
  <p>then pass to typescript.</p>