diff options
Diffstat (limited to 'src/ng')
| -rw-r--r-- | src/ng/rootScope.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index 8be495db..97e396ab 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -710,7 +710,8 @@ function $RootScopeProvider(){ * * - `string`: execute using the rules as defined in {@link guide/expression expression}. * - `function(scope)`: execute the function with the current `scope` parameter. - * + * + * @param {(object)=} locals Local variables object, useful for overriding values in scope. * @returns {*} The result of evaluating the expression. */ $eval: function(expr, locals) { |
