angular text field event listener code example Example: onclick event in angular (click)="myClickFunction($event)"