aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2014-01-11 14:22:32 -0800
committerIgor Minar2014-01-11 14:29:05 -0800
commitc7a46d4b8aa4d8b265bf6b55d588d75625a121a5 (patch)
treeb0f78b1aa68719b71a5493897b5b24c83c0d306b
parentde065f196129766f7e774ccf0a24916db2e0f06d (diff)
downloadangular.js-c7a46d4b8aa4d8b265bf6b55d588d75625a121a5.tar.bz2
docs(ngView): moar better autoscroll docs
Closes #5734
-rw-r--r--src/ngRoute/directive/ngView.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ngRoute/directive/ngView.js b/src/ngRoute/directive/ngView.js
index dde12004..41ed9f31 100644
--- a/src/ngRoute/directive/ngView.js
+++ b/src/ngRoute/directive/ngView.js
@@ -33,7 +33,8 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory);
*
* - If the attribute is not set, disable scrolling.
* - If the attribute is set without value, enable scrolling.
- * - Otherwise enable scrolling only if the expression evaluates to truthy value.
+ * - Otherwise enable scrolling only if the `autoscroll` attribute value evaluated
+ * as an expression yields a truthy value.
* @example
<example module="ngViewExample" deps="angular-route.js" animations="true">
<file name="index.html">