const link = '<a href="javascript:void(0);" (click)="redirectToPage(store)" class="btn grey">' + displayText + '</a>';
When I am clicking on the button in the page than nothing happens. Where am I getting wrong? I am using angular 7.
redirectToPage(store){
alert('take me to store');
}