angular button click event target value code example Example: onclick event in angular (click)="myClickFunction($event)"