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