diff options
Diffstat (limited to 'src/directives.js')
| -rw-r--r-- | src/directives.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directives.js b/src/directives.js index c3d732a2..829be3e1 100644 --- a/src/directives.js +++ b/src/directives.js @@ -221,7 +221,7 @@ angularDirective("ng:click", function(expression, element){ angularDirective("ng:watch", function(expression, element){ return function(element){ var self = this; - new Parser(expression).watch()({ + parser(expression).watch()({ addListener:function(watch, exp){ self.$watch(watch, function(){ return exp(self); |
