I've placed an anchor at the top of my page:
<a href="#top">Logo here</a>
Now, at the bottom of the page, there's a contact form. After filling out the form, I'd like to be able to scroll back up to that anchor.
$location.path("#top")
But unfortunately, this method didn't work for me.
Does anyone have any suggestions on how to achieve this?