如何将匿名函数传递给Angular模板

在Angular模板中,如何执行以下操作:

<div (click)="(()=>{})()"> click here </div>

要么

<div (click)="(function(){})()"> click here </div>

代替:

<div (click)="myfunction()"> click here </div>

and then defining myfunction in the component controller.