title: Angularjs - How can it point to all the ng-repeat from on of them by a ng-click?
body: <p>What can I do to point to the other ng-repeat elements from the ng-click function?
  I would like to modify the {{nameClass}} of the other ng-repeat elements from a click to someone of them.</p>
  
  <p>Html:</p>
  
  <pre><code>&lt;li class="{{nameclass}}" ng-repeat="person in people" ng-click="somefunction()"&gt;&lt;/li&gt;
  </code></pre>
  
  <p>javascript:</p>
  
  <pre><code>function somefunction(){
       this.nameclass = "some";
       //what to set the other classes???
  }
  </code></pre>