I want to be able to scroll to a target when a button is pressed. I was thinking something like this.
Button
You can achieve that by using the reference to an angular DOM element as follows:
Here is the example in stackblitz
the component template:
Other content Click to scroll Some text to scroll