angular once a user clicks on a input text code example Example: onclick event in angular (click)="myClickFunction($event)"