UPDATE I have started working with routerLink="" since Angular 12. I was finding that routerLink="." was routing me to some parent page. You should utilize JavaScript to trigger onclick together with other occasions to imitate the actions of a hyperlink using a button. The instance down below may be improve https://car-crash-compensation78776.blogdal.com/39958873/5-simple-statements-about-industry-experts-explained