title: AngularJS ng-click change color within ng-repeat
body: <p>I have some code that lists out items in a table from a database. The click function toggles the cells between green and red</p>
  
  <pre><code> &lt;div class="row"&gt;
      &lt;div class="logs-table col-xs-12"&gt;
          &lt;table class="table table-bordered table-hover" style="width:100%"&gt;
  
              &lt;tr&gt;              
                  &lt;th&gt;Name&lt;/th&gt;
                  &lt;th&gt;Seed&lt;/th&gt;
                  &lt;th&gt;Division&lt;/th&gt;                
              &lt;/tr&gt;
  
              &lt;tr ng-repeat="team in Pool"&gt;
                  &lt;td ng-class="{'btn-danger': started, 'btn-success': !started}" ng-click="inc()"&gt;{{ team.chrTeamName }}&lt;/td&gt;
                  &lt;td&gt;{{ team.intSeed }}&lt;/td&gt;
                  &lt;td&gt;{{ team.chrDivision }}&lt;/td&gt;
              &lt;/tr&gt; 
  
          &lt;/table&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>My click function is below</p>
  
  <pre><code> $scope.inc = function () { $scope.started = !$scope.started }
  </code></pre>
  
  <p>The only problem is that this is changing all of the cells in the first column. I'm thinking i need to pass a parameter in my click function, but I'm not sure what.</p>