docs(ngView): moar better autoscroll docs

Closes #5734
This commit is contained in:
Igor Minar 2014-01-11 14:22:32 -08:00
parent de065f1961
commit c7a46d4b8a

View file

@ -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">