title: How to access property of object within ng-table ng-repeat
body: <p>I want to access the 'event' clicked on within the <code>ng-repeat</code> of an <code>ng-table</code>, but I can't figure out how to access this specific 'event' (the index of 'events') within my controller.</p>
  
  <p>Here is the relevant HTML:</p>
  
  <pre><code>&lt;table ng-table="events.tableParams"&gt;
    &lt;tr ng-repeat="event in $data"&gt;
      &lt;td&gt;{{event.state}}&lt;/td&gt;
      &lt;td&gt;
        &lt;ul&gt;
          &lt;li ng-repeat="option in event.options"&gt;
            &lt;a href="" ng-click="events.performAction(option.value, event.id, option.type)"&gt;{{option.label}}&lt;/a&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>...and the relevant section of my controller:</p>
  
  <pre><code>vm.performAction = function(action, id, type) {
    if (action === 'cancel') {
      event.state = 'canceling';
    }
  };
  </code></pre>
  
  <p><code>event.state</code> within this controller code is obviously incorrect but highlights what I'm trying to update within my HTML.</p>