aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMisko Hevery2010-02-17 16:05:26 -0800
committerMisko Hevery2010-02-17 16:05:26 -0800
commit7e14dff90516a41ff1903cc44fe3389710f15556 (patch)
treeb636e82bbcf1661ff744fcbc490b468af725f069 /src
parent3f9a2ab9bdfcd12cb7df74b0d38cecf2ee4ac94a (diff)
downloadangular.js-7e14dff90516a41ff1903cc44fe3389710f15556.tar.bz2
fix this on filter to point to scope
Diffstat (limited to 'src')
-rw-r--r--src/Scope.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Scope.js b/src/Scope.js
index c0998168..4de57dd2 100644
--- a/src/Scope.js
+++ b/src/Scope.js
@@ -105,6 +105,7 @@ Scope.prototype = {
}
context = context || {};
context.scope = this;
+ context.self = this.state;
return expression(context);
},