Autoscroll in Angular 2
<p>I'm experiencing an issue with Angular 2 where changing from one route to another does not automatically scroll to the top of the new view. I realize that Angular 1 allowed for an <code>autoscroll</code> property to be added to an HTML element, and others had come up with some simple javascript (such as <code>window.scroll(0, 0)</code>) to force views to scroll to the top when loaded. </p>

<p>However, I am not sure how to accomplish this with Angular 2. Does anyone know how to achieve this?</p>