title: AngularJS: Count while iterating in nested ng-repeat
body: <p>I have created an angularjs application for printing the Indian people count as well as those who have vote eligible count values,</p>
  
  <p>The application is working fine but i dont know how to get indians and vote eligible counts while iterating</p>
  
  <p><strong><a href="http://jsfiddle.net/tmu9kukz/" rel="nofollow">Working Demo</a></strong></p>
  
  <pre><code>&lt;div ng-app='myApp' ng-controller="Controller"&gt;
      &lt;div ng-init="indiansCount = 0" ng-repeat="emp in records"&gt;
          &lt;b&gt;Can Vote :&lt;/b&gt;&lt;br&gt;
          &lt;b&gt;Indians :&lt;/b&gt; {{getIndiansCount(emp.country, indiansCount)}}
  
          &lt;div ng-repeat="empl in emp"&gt;
              {{empl.country}}&lt;br&gt;
               {{empl.employee.name}}&lt;br&gt;
               {{empl.employee.canVote}}
              &lt;hr&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Can anyone please tell me some suggestion for this</p>