aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.js')
-rw-r--r--src/parser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.js b/src/parser.js
index 76f9630e..9f2442de 100644
--- a/src/parser.js
+++ b/src/parser.js
@@ -744,7 +744,7 @@ function getterFn(path) {
' t = angular.Global.typeOf(l);\n' +
' fn = (angular[t.charAt(0).toUpperCase() + t.substring(1)]||{})["' + name + '"];\n' +
' if (fn) s = function(){ return fn.apply(l, ' +
- '[l].concat(Array.prototype.slice.call(arguments, 0, arguments.length))); };\n' +
+ '[l].concat(Array.prototype.slice.call(arguments, 0))); };\n' +
'}\n';
}
});