$anchorScroll

Improve this Doc View Source $anchorScroll

  1. $anchorScrollProvider
  2. service in module ng

When called, it scrolls to the element related to the specified hash or (if omitted) to the current value of 登录查看完整内容