$anchorScrollProvider.disableAutoScrolling()

disableAutoScrolling();

By default, $anchorScroll() will automatically detect changes to $location.hash() and scroll to the element matching the new hash.
Use this method to disable automatic scrolling.

If automatic scrolling is disabled, one must explicitly call $anchorScroll() in order to scroll to the element related to the current hash.

doc_AngularJS
2016-03-29 16:10:03
Comments
Leave a Comment

Please login to continue.