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