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}}])

@@ -83,16 +83,16 @@
 ion(
-e
+n
 )%7Bvar 
-t
+i
 =fun
@@ -101,30 +101,30 @@
 ion(
-t,n,r
+i,t,o
 )%7Bvar 
-i;t
+e;i
 .$watch(
 r.ng
@@ -119,17 +119,17 @@
 .$watch(
-r
+o
 .ngModel
@@ -142,30 +142,42 @@
 ion(
-n,s
+t,r
 )%7Bif(
-n!==s
+t!==r&&void 0!==r
 )%7Bvar 
-o=r
+a=o
 .wai
@@ -181,17 +181,17 @@
 waitFor?
-r
+o
 .waitFor
@@ -212,12 +212,12 @@
 out(
-i);i
+e),e
 =set
@@ -239,32 +239,17 @@
 n()%7B
-console.log(o);var n=e(r
+var t=n(o
 .onS
@@ -266,17 +266,15 @@
 ng);
-n(t)%7D,800
+t(i)%7D,a
 )%7D%7D)
@@ -304,10 +304,11 @@
 ink:
-t
+i
 %7D%7D%5D)
+;
 %0A

Fix initial expression handler