onClick function name want it to pass from backend
Provided that there is a public function on the Controller named myFunction(), this should work:
myFunction()
<button type="submit" (click)="myFunction()"> </button>
Provided that there is a public function on the Controller named
myFunction(), this should work: