title: angularjs change ng-repeat variable and call function
body: <p>I am trying to toggle a class when clicking on the Save button but also call a function.  I am using coffeescript.  The function gets called but the variable never gets set to false.</p>
  
  <pre><code>div(ng-class="{'someclass':setListFocus}, ng-repeat="item in items")
  
    a(ng-click="setListFocus=false;someFunction();")
      span(class="gs-desktop") Save
    // Delete user data.
    a(ng-click="setListFocus=true")
      span Edit
  </code></pre>