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