docs($rootScope): added $eval locals parameter documentation

Added documentation for `locals` parameter of `$eval` method.
This commit is contained in:
Caio Cunha 2013-10-23 20:02:30 -04:00 committed by Matias Niemelä
parent 79223eae50
commit 0a84739776

View file

@ -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) {