diff options
| author | Igor Minar | 2011-01-20 22:05:14 -0800 | 
|---|---|---|
| committer | Igor Minar | 2011-01-24 14:03:42 -0800 | 
| commit | 8d91ec4173a652da9fe984d12a50d6b1b4ef935f (patch) | |
| tree | 53b17e93b8793742e55fc7dbec0396779b405e26 /src/Scope.js | |
| parent | 746e7a9768f56315094c00ab86fd56addfc7aec3 (diff) | |
| download | angular.js-8d91ec4173a652da9fe984d12a50d6b1b4ef935f.tar.bz2 | |
improve angular.Scope.$eval docs
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/Scope.js b/src/Scope.js index e1ea43a1..a8c1322c 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -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> | 
