title: How to check data is loaded in table or Not using Angular js
body: <p>I need to check whether data is loaded or not in the Table ?</p>
  
  <p>Based on this some decision ,  i need to perform some operation on it,</p>
  
  <p><strong>Only Angular js solution please.</strong> </p>
  
  <p><strong>html</strong> </p>
  
  <pre><code>&lt;table ng-model='xxxx'&gt;
     &lt;tr ng-repeat="x in obj" ng-bind='x.name'&gt;---&lt;/tr&gt;
  &lt;table&gt;
  </code></pre>
  
  <p><strong>Angular snippet:</strong></p>
  
  <pre><code>$scope.$watch('xxxx', function (val) {
     console.log(val);
     if (val !== undefined) {
                collectData();
       }
     });
  </code></pre>
  
  <p>i was trying to place one ng-model and finding  its value in $watch and find the table is ready for operation or not ...!!!</p>
  
  <p>but it's not working , ng-model ='xxxx' is giving undefined always.</p>
  
  <p>Thanks in Advance.</p>