title: Variable in loop ng-click angular
body: <p>My code snippet looks like:</p>
  
  <pre><code>&lt;a href="#" class="checkl" ng-selected="display_label" ng-click="check()"&gt;display_label}&lt;/a&gt;
  </code></pre>
  
  <p>Which sits in a loop and renders everything correctly, However I'd like to simply add a value I pass to check() which should live inside, as the logic will change for different data, I can do this easily with a select drop down, however lists seem to be slightly different.</p>
  
  <p>So on select I could add for example value="option" and when I call check() it would go across correctly to my function, however just need a pointer for hrefs.</p>