mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-04-04 15:20:24 +00:00
docs($rootScope): added $eval locals parameter documentation
Added documentation for `locals` parameter of `$eval` method.
This commit is contained in:
parent
79223eae50
commit
0a84739776
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue