title: AngularJS + Safari: Force page to scroll to top when pages switch
body: <p>I am having an odd, safari-only scrolling behavior using AngularJS.</p>
  
  <p>Whenever the user flips between pages, the pages are being changed as if they are AJAX. I understand they are in AngualrJS, but the resulting behavior is that the browser does not scroll to top when the user switches pages.</p>
  
  <p>I've tried to force the browser to scroll to top whenever a new controller is being used, but it does not seem to do anything.</p>
  
  <p>I'm running the following JS at the top of every controller:</p>
  
  <p><code>document.body.scrollTop = document.documentElement.scrollTop = 0;</code></p>
  
  <p>This is also a Safari-only bug, every other browser will scroll to top when the page changes. Has anyone encountered a similar issue or think of a better way to resolve it?</p>