improve angular.Scope.$eval docs

This commit is contained in:
Igor Minar 2011-01-20 22:05:14 -08:00
parent 746e7a9768
commit 8d91ec4173

View file

@ -331,10 +331,11 @@ function createScope(parent, providers, instanceCache) {
* @function
*
* @description
* Without the `exp` parameter triggers an eval cycle, for this scope and it's child scopes.
* Without the `exp` parameter triggers an eval cycle for this scope and its child scopes.
*
* With the `exp` parameter, compiles the expression to a function and calls it with `this` set
* to the current scope and returns the result.
* to the current scope and returns the result. In other words, evaluates `exp` as angular
* expression in the context of the current scope.
*
* # Example
<pre>