Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • Awesome! By far the simplest solution, but any idea how to link to a an anchor on a separate page? (i.e. /products#books ) Commented May 1, 2014 at 19:50
  • I think it is the same as the solution (/products##books) in AngularJS Commented May 2, 2014 at 5:03
  • 1
    From my experience, href="##" works only when $anchorScroll is injected. Commented Jul 15, 2014 at 19:15
  • 9
    this seems relatively simple but its not working :-( Commented Apr 6, 2015 at 9:39
  • 4
    I added target="_self" and it worked like charm for all type of navigation within page ( read sliders, going to different sections and so on). Thank you for sharing this great and simplest trick. Commented Jun 13, 2015 at 14:14