title: How to get <td> values that comes dynamically to table from angularjs scope?
body: <p>I tried to get the  values from the table while loading so that based on data value I can set the  background color as an indication on my Dashboard. But am not to access the values can anyone help me.
  Thank you.</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;div class="row"&gt;
        &lt;div id="content1" class="toggle" style="display:none"&gt;
          &lt;div class="col-sm-8"&gt;
            &lt;div class="well"&gt;
              &lt;table id="table1" class="table table-hover" ng-show="mytable1"&gt;
                      &lt;thead&gt;
                          &lt;tr&gt;
                              &lt;th&gt;&lt;/th&gt;
                              &lt;th&gt;Operational Analysis&lt;/th&gt;
                              &lt;th&gt;&lt;/th&gt;
                              &lt;th&gt;&lt;/th&gt;
                              &lt;th ng-repeat="item in yearList"&gt;{{item.years}}&lt;/th&gt;
                          &lt;/tr&gt;
                      &lt;/thead&gt;
                      &lt;tbody&gt;
                          &lt;tr ng-repeat="operation in dataOperationList"&gt;
                              &lt;td class="details-control"&gt;&lt;/td&gt;
                              &lt;td&gt;{{operation.reportTypeDetail}}&lt;/td&gt;
                              &lt;td&gt;{{operation.reportFormula}}&lt;/td&gt;
                              &lt;td&gt;{{operation.reportRang}}&lt;/td&gt;
                              &lt;td&gt;{{operation.year5}}&lt;/td&gt;
                              &lt;td&gt;{{operation.year4}}&lt;/td&gt;
                              &lt;td&gt;{{operation.year3}}&lt;/td&gt;
                              &lt;td&gt;{{operation.year2}}&lt;/td&gt;
  
                          &lt;/tr&gt;
                      &lt;/tbody&gt;
              &lt;/table&gt;
            &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>I tried by jQuery</p>
  
  <pre><code>$(document).ready(function(){
      $("#table1 tbody tr").each(function() {
            // Within tr we find the last td child element and get content
            alert($(this).find("td:last-child").html());
  
      });
  });
  </code></pre>
  
  <p>but it didnt work.</p>