The Angular Router has the ability to configure the router to restore scrolling and the linked documentation provides an example of how to do it when loading data.
How do we just configure the standalone router to restore the router outlet scroll to the top?
As can be seen in this demo, without any configuration, if two views have content that can be scrolled to the bottom, if one does scroll to the bottom, the viewport will stay that way when navigating across components.
https://stackblitz.com/edit/angular-adcsej?file=src%2Fmain.ts