title: How to pass the ng-repeat value or ID to my appended element? It this possible?
body: <p>I have ng repeat table with 5 datas from my select query and condition on my datas. I just want to get the ng-repeat value and ID and transfer it to my appended element. I'm new in Angularjs and HTML hope you guys can help. Appreciate much help.</p>
  
  <p>This is my HTML:</p>
  
  <pre><code>&lt;table class="table table-bordered kl"&gt;
     &lt;thead&gt;
        &lt;tr&gt;
           &lt;th&gt;ID&lt;/th&gt;
           &lt;th&gt;VALUE&lt;/th&gt;
        &lt;/tr&gt;
     &lt;/thead&gt;
  
     &lt;tbody&gt;
        &lt;tr ng-repeat="d in mySelectData"&gt;
           &lt;td&gt;{{d.ID}}&lt;/td&gt;
           &lt;td&gt;{{d.VALUE}} &lt;p id="dataColor"&gt;Color&lt;/p&gt; &lt;/td&gt;
        &lt;/tr&gt;
     &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Here's my controller:</p>
  
  <pre><code>if(interval == 2000) {
      $('#dataColor').empty();
      $('#dataColor').append('&lt;label&gt; the color is {{d.VALUE}}&lt;/label&gt;'
  else {
      $('#dataColor').empty();
      $('#dataColor').append('&lt;label&gt; the color will be changed!&lt;/label&gt;'
  }
  </code></pre>
  
  <p>Output should be: (in my first load)</p>
  
  <pre><code>+--------+-----------+
  |   ID   |   Value   |
  +--------+-----------+
  |   1    |   black   |
  +--------+-----------+
  |   2    |   red     |
  +--------+-----------+
  |   3    |   blue    |
  +--------+-----------+
  |   4    |   white   |
  +--------+-----------+
  |   5    |   red     |
  +--------+-----------+
  </code></pre>
  
  <p>(in my 2nd load or after 2secs)</p>
  
  <pre><code>+--------+-----------------------------+
  |   ID   |   Value                     |
  +--------+-----------------------------+
  |   1    |   black  the color is black |
  +--------+-----------------------------+
  |   2    |   red    the color is red   |
  +--------+-----------------------------+
  |   3    |   blue   the color is blue  |
  +--------+-----------------------------+
  |   4    |   white  the color is white |
  +--------+-----------------------------+
  |   5    |   red    the color is red   |
  +--------+-----------------------------+
  </code></pre>
  
  <p>finally</p>
  
  <pre><code>+--------+-------------------------------------+
  |   ID   |   Value                             |
  +--------+-------------------------------------+
  |   1    |   black  the color will be changed! |
  +--------+-------------------------------------+
  |   2    |   red    the color will be changed! |
  +--------+-------------------------------------+
  |   3    |   blue   the color will be changed! |
  +--------+-------------------------------------+
  |   4    |   white  the color will be changed! |
  +--------+-------------------------------------+
  |   5    |   red    the color will be changed! |
  +--------+-------------------------------------+
  </code></pre>