click button to show data angular code example Example: click binding angular 8 <button (click)="myFunction()"></button>