title: assign whole object for ng-value and retrieve in controller when the a particular radio button is checked
body: <p>I want to assign and retrieve the whole object to ng-value on ng-repeat. And when I select a row of table using radio button, I want to get the object of the selected row.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;button ng-click="save()"&gt;Save&lt;/button&gt;
  &lt;table id="remark-table"&gt;
      &lt;thead&gt;
         &lt;tr&gt;
           &lt;th&gt;Name&lt;/th&gt;
           &lt;th&gt;Remarks&lt;/th&gt;
           &lt;th&gt;Indicator&lt;/th&gt;
         &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
         &lt;tr ng-repeat="data in remarks track by data.id"&gt;
           &lt;td&gt;{{data.name}}&lt;/td&gt;
           &lt;td&gt;{{data.remarks}}&lt;/td&gt;
           &lt;td&gt;&lt;input type="radio" name="indicator" ng-model=data ng-value=data&gt;&lt;/td&gt;
         &lt;/tr&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>$scope.remarks = [{
    name : 'John',
    remarks : 'Remark 1'
  },
  {
    name : 'Tom',
    remarks : 'Remark 2'
  },
  {
    name : 'Jerry',
    remarks : 'Remark 3'
  }];
  
  $scope.save = function() {
      var remarks = angular.element('#remark-table tbody tr td').find('input[name="indicator"]:checked').val();
  }
  </code></pre>
  
  <p>remarks is returned as [object Object]</p>
  
  <p>Fiddle is not opening at the moment. Hence posted the code here. Kindly help with this. Thanks in advance!</p>