Using routerLink and (click) in same button
Following are few examples how you can play around with routerLink and click , Hope this will help : -> If you want to redirect to certain pages you can always use this : <a [routerLink]=”[‘/my-book-listing’]”> My Books</a> -> If you want to redirect to a page but want to send some paramater such as … Read more