navigate to a component angular on button click code example Example: button routing <a routerLink="/">Go To Home</a>