title: Coming back to init state after ng-click in ng-repeat?
body: <p>I'm facing an issue due to my very low understanding of basic AngularJs concepts (I think). I have a list of clickable words. When I click on them, they change color (individually) through the use of Bootstrap 'labels' classes. It works fine BUT... (here it is :) ) : If I click my 'Try again' button, I am unable to set my colors back to the init state because I am unable to set 'this.selected' to 'false'... See the below code.</p>
  
  <p>I'm sure it's not that difficult, but I'm stuck so if anyone could give me a hint, I'd appreciate.</p>
  
  <pre><code>&lt;h2 class="jumbleW inline" ng-repeat="w in word track by $index"&gt;
    &lt;span ng-class="{'label': true, 'label-primary': !this.selected, 'label-warning': this.selected}" ng-click="pickWord(w)"&gt;{{w}}&lt;/span&gt;
  &lt;/h2&gt;
  
  &lt;button class="btn btn-danger btn-xs" ng-click="clear()"&gt;Try again&lt;/button&gt;
  </code></pre>
  
  <p>EDIT : Sorry for my beginner's mistakes. I accepted the edition of the above code (bare HTML).
  Here's also my pickWord() function() :</p>
  
  <pre><code>$scope.pickWord = function(w){
      this.selected = !this.selected;
      if (this.selected == false) {
          $scope.playerAnswer = $scope.playerAnswer.replace(w, "");
      } else {
          $scope.playerAnswer += w;
      }
  }
  </code></pre>