You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
When using AngularJS for everything on a page that could easily be done in a static way (see angularjs.org), using the back button becomes irritating because the scroll position is alway reset.
At that point, you should see the text for $watch but you will see the page title instead. In Firefox and Internet Explorer, this even happens for in-page links (click $digest())!
TIcket #727 says that the reset is a feature. For cases like this, however, it's highly detrimental because it loses default browser behavior in a bad way. I think this also falls under "don't break the back button".
Apart from actually having AngularJS remember the scroll position, I think it would be good if AngularJS weren't applied as a matter of course on angularjs.org, but only as needed – and since the documentation pages don't really need to be built by on-page javascript, a good old-fashioned server-side render might be in order.