aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Sanders2013-07-21 11:25:23 -0600
committerPawel Kozlowski2013-07-21 20:24:33 +0200
commitfd45d590ef924c25903832086a63172f98ea189c (patch)
tree198824aa59be0154b809fe806570cd046cf43882 /src
parentbb8c3ec1a51f73a7d38b696c3355f3dbea7d98a8 (diff)
downloadangular.js-fd45d590ef924c25903832086a63172f98ea189c.tar.bz2
docs($window): improve style and clarify wording
Diffstat (limited to 'src')
-rw-r--r--src/ng/window.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ng/window.js b/src/ng/window.js
index 03e0ff5d..72528efe 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 overridden, 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>