title: select table row value on checkbox click and display selected value on div in angularjs
body: <p>I need to select a row in table on checkbox click and show the selected row value on a div , as i am new to angularjs not able to figure it out how it can be done.
  i tried using the filter option but didn't work kindly assist any help appreciated .</p>
  
  <p>My code </p>
  
  <pre><code>     &lt;table  ng-show="ad_tabl==1" id="data" border="1" class="table table-striped responsive-utilities jambo_table bulk_action"  &gt;
      &lt;thead&gt;
              &lt;tr class="headings"&gt;
              &lt;th&gt;&lt;input type="checkbox" class=""/&gt;&lt;/th&gt;
              &lt;th&gt;Index X 10 table1&lt;/th&gt;
              &lt;th&gt;Steps&lt;/th&gt;
              &lt;th&gt;Distance(ft)&lt;/th&gt;
              &lt;th&gt;Distance....(m)&lt;/th&gt;&lt;/th&gt;
              &lt;/tr&gt;
      &lt;/thead&gt;
  
      &lt;tbody&gt;
          &lt;tr    ng-repeat="ad1 in action_distance" &gt;
              &lt;td class="a-center "&gt;
              &lt;input  ng-model="ad1.index" type="checkbox" class="tableflat_ad"/&gt;
              &lt;/td&gt;
              &lt;td&gt;{{ad1.index}}&lt;/td&gt;
              &lt;td&gt;{{ad1.steps}}&lt;/td&gt;
              &lt;td&gt;{{ad1.distance_ft}}&lt;/td&gt;
              &lt;td&gt;{{ad1.distance_m}}&lt;/td&gt;
  
          &lt;/tr&gt;
  
      &lt;/tbody&gt;    
      &lt;/table&gt;
      &lt;div&gt;
      ////////  show row selected value here ///////////
      &lt;/div&gt;
  
  var app =  angular.module('formExample', [])
      .controller('ExampleController', ['$scope', function($scope) {
  
  
           $scope.action_distance = [
  {
  index:"0",
  steps:       "&lt;=2 in.(5cm.)",
  distance_ft:       "",
  distance_m:       "",
  },{
  index:       "1",
  steps:       "Within Reach",
  distance_ft:       "",
  distance_m:       "",
  },{
  index:       "3",
  steps:       "1-2 Steps",
  distance_ft:       "",
  distance_m:       "",
  }
  ];
  }]);
  </code></pre>
  
  <p>Thanks in advance .</p>