diff options
| author | David Sanders | 2013-07-21 11:25:23 -0600 |
|---|---|---|
| committer | Pawel Kozlowski | 2013-07-21 20:24:49 +0200 |
| commit | bdde40e755cb1f53ce847de5c5a758f276a133d3 (patch) | |
| tree | ee62cf9d2943c7ec85dba8b2fc5086f704d12cbb /src/ng/window.js | |
| parent | 88c4963328b51317fe35277bd744f6c659d874c7 (diff) | |
| download | angular.js-bdde40e755cb1f53ce847de5c5a758f276a133d3.tar.bz2 | |
docs($window): improve style and clarify wording
Diffstat (limited to 'src/ng/window.js')
| -rw-r--r-- | src/ng/window.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ng/window.js b/src/ng/window.js index 112c50a5..7804d23a 100644 --- a/src/ng/window.js +++ b/src/ng/window.js @@ -10,8 +10,10 @@ * it is a global variable. In angular we always refer to it through the * `$window` service, so it may be overriden, removed or mocked for testing. * - * All expressions are evaluated with respect to current scope so they don't - * suffer from window globality. + * Expressions, like the one defined for the `ngClick` directive in the example + * below, are evaluated with respect to the current scope. Therefore, there is + * no risk of inadvertently coding in a dependency on a global value in such an + * expression. * * @example <doc:example> |
