with click of button in angular then rotuting should happen code example Example: button routing <a routerLink="/">Go To Home</a>