title: Creating multiple radio buttons with *ngFor [Angular2]
body: <p>I need dynamic number of radio buttons based on the length of Array Of Objects (<em>eg: enum_details</em>):</p>
  
  <p>Following is the code I tried:</p>
  
  <pre><code>&lt;div *ngFor="let enum of enum_details"&gt;
    &lt;label for="enum_answer_{{enum.value}}"&gt;
      &lt;input id="enum_answer_{{enum.value}}" type="radio" name="enums" [(ngModel)]="enum.value"&gt;
      {{enum.display_text}}
    &lt;/label&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But, when I click any radio, always the last one gets selected and the value is never assigned to <strong>ngModel</strong>.</p>
  
  <p>If I remove <strong>ngModel</strong>, the radios work fine, but, value is not set. What can be the fix here?</p>