title: How to get selected radio button data in AngularJS (ng-repeat)
body: <p>I need to get selected row data(id, name) with radio button. To be specific;</p>
  
  <pre><code>&lt;tr data-ng-repeat=" list in listTypes"&gt;
      &lt;td&gt;{{list.TaskId}}&lt;/td&gt;
      &lt;td&gt;{{list.Comments}}&lt;/td&gt;
      &lt;td&gt;{{list.RecordDate}}&lt;/td&gt;
      &lt;td&gt;{{list.StartDate}}&lt;/td&gt;
      &lt;td&gt;{{list.DueDate}}&lt;/td&gt;
      &lt;td&gt;{{list.AssignTo}}&lt;/td&gt;
      &lt;td&gt;{{list.AssignBy}}&lt;/td&gt;
      &lt;td&gt;&lt;label class="switch"&gt;
          &lt;input type="radio" name="switch-radio1" checked="" value="0" ng-value="true" &gt;
          &lt;span&gt;&lt;/span&gt;
      &lt;/label&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>When selected radio button, I should get the datas(<code>taskId</code>, <code>comments</code>), which is selected row. Which function should I use it? (specially I need JS part)
  Thanks for any help.</p>