title: Angular JS - Variable Updating With Interval
body: <p>Do angular models work with setIntervaL?</p>
  
  <p>Here's an example.. if I have </p>
  
  <pre><code>&lt;p&gt;{{number}}&lt;/p&gt;
  &lt;button ng-click="testFunc()"&gt;TEST&lt;/button&gt;
  </code></pre>
  
  <p>For some reason it updates WITHOUT setInterval, but like this it doesn't:</p>
  
  <pre><code>scope.testFunc = function(){
      setInterval(function(){
          scope.number--;
      },1000);
  };
  </code></pre>
  
  <p>Without setInterval the number will update every single click, but with setInverval it won't update continuously. If I click it every 5 seconds it'll jump a bunch of numbers up (so it's running in the background but the view isn't updating).</p>