old_contents: angular.module("ngOnStoppedTyping",[]).directive("onStoppedTyping",["$parse",function(e){var t=function(t,n,r){var i;t.$watch(r.ngModel,function(n,s){if(n!==s){var o=r.waitFor?r.waitFor:500;clearTimeout(i);i=setTimeout(function(){console.log(o);var n=e(r.onStoppedTyping);n(t)},800)}})};return{restrict:"A",link:t}}])
  
new_contents: angular.module("ngOnStoppedTyping",[]).directive("onStoppedTyping",["$parse",function(n){var i=function(i,t,o){var e;i.$watch(o.ngModel,function(t,r){if(t!==r&&void 0!==r){var a=o.waitFor?o.waitFor:500;clearTimeout(e),e=setTimeout(function(){var t=n(o.onStoppedTyping);t(i)},a)}})};return{restrict:"A",link:i}}]);
  
subject: Fix initial expression handler