title: How to create on-change directive for AngularJS?
body: <p>Normally ng-model updates bound model each time user pushes the key:</p>
  
  <pre><code>&lt;input type="text" ng-model="entity.value" /&gt;
  </code></pre>
  
  <p>This works great in almost every case.</p>
  
  <p>But I need it to update when onchange event occurs instead when onkeyup/onkeydown event.</p>
  
  <p>In older versions of angular there was a ng-model-instant directive which worked same as ng-model works now (at least for the user - i don't know anything about their implementations).
  So in older version if I just gave ng-model it was updating the model onchange and when I specified ng-model-instant it was updating the model onkeypup.</p>
  
  <p>Now I need ng-model to use on "change" event of the  element. I don't want it to be instant. What's the simplest way of doing this?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The input still has to reflect any other changes to the model - if the model will be updated in other place, value of the input should reflect this change.</p>
  
  <p>What I need is to have ng-model directive to work just like it worked in the older versions of angularjs.</p>
  
  <p>Here is an explanation of what I'm trying to do:
  <a href="http://jsfiddle.net/selbh/EPNRd/" rel="noreferrer">http://jsfiddle.net/selbh/EPNRd/</a></p>