From c7a46d4b8aa4d8b265bf6b55d588d75625a121a5 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Sat, 11 Jan 2014 14:22:32 -0800 Subject: docs(ngView): moar better autoscroll docs Closes #5734 --- src/ngRoute/directive/ngView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3