Skip to content

Commit 8d91ec4

Browse files
committed
improve angular.Scope.$eval docs
1 parent 746e7a9 commit 8d91ec4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Scope.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,11 @@ function createScope(parent, providers, instanceCache) {
331331
* @function
332332
*
333333
* @description
334-
* Without the `exp` parameter triggers an eval cycle, for this scope and it's child scopes.
334+
* Without the `exp` parameter triggers an eval cycle for this scope and its child scopes.
335335
*
336336
* With the `exp` parameter, compiles the expression to a function and calls it with `this` set
337-
* to the current scope and returns the result.
337+
* to the current scope and returns the result. In other words, evaluates `exp` as angular
338+
* expression in the context of the current scope.
338339
*
339340
* # Example
340341
<pre>

0 commit comments

Comments
 (0)