aboutsummaryrefslogtreecommitdiffstats
path: root/src/directives.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/directives.js')
-rw-r--r--src/directives.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directives.js b/src/directives.js
index 20235f64..b511541f 100644
--- a/src/directives.js
+++ b/src/directives.js
@@ -236,7 +236,7 @@ angularDirective("ng:controller", function(expression){
angularDirective("ng:bind", function(expression, element){
element.addClass('ng-binding');
return ['$exceptionHandler', '$parse', '$element', function($exceptionHandler, $parse, element) {
- var exprFn = parser(expression),
+ var exprFn = $parse(expression),
lastValue = Number.NaN;
this.$watch(function(scope) {