title: AngularJS: ng-repeat and ng-class
body: <p>I've a problem with ng-repeat and ng-class. I want to apply class only if the param "sel" is true. My data is about this:
  <code>people = [{"id":0,"name":"Simone","sel":true},{"id":1,"name":"Maria","sel":false},{"id":2,"name":"Marco","sel":false}]</code></p>
  
  <p>In my html page I've:</p>
  
  <pre><code>&lt;li ng-repeat="person in people" id="person-{{person.id}}"&gt;
          &lt;span ng-class="{person-select: person.sel == 'true'}"&gt;{{person.name}}&lt;/span&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>But it doesn't work.. Where I'm wrong? I tried with <code>{{person.name}}-{{person.sel}}</code> and it print "Simone-true .. Maria-false .. Marco-false".</p>