title: AngularJS input check/uncheck with 2 functions
body: <p>I have a checkbox.</p>
  
  <p><strong>Check</strong> -> call <code>displayStuff();</code></p>
  
  <p><strong>Uncheck</strong> -> call <code>hideStuff();</code></p>
  
  <p>I tried something like that but it doesn't work:</p>
  
  <pre><code>&lt;input type="checkbox" id="mycheckbox" name="mycheckbox" ng-model="mycheckbox" data-ng-change="myCheckbox ? displayStuff() : hideStuff()" /&gt;
  </code></pre>
  
  <p>Thanks for your help!</p>