title: onClick fires the last items function
body: <p>So I have an array of items which all have a function named <code>onClick()</code> this function can be executed from a <code>ng-repeat</code></p>
  
  <p>However what happens is that instead of executing the <code>onClick()</code> of the selected element, it call the function from the last element in the last. Why is this, and how can I prevent this?</p>
  
  <p>My <a href="http://jsfiddle.net/michaeltotkorsgaard/789Ks/284/" rel="nofollow noreferrer">demo</a></p>