Hi I try to add dynamic functions name on button but don't know how to do that try something but doesn't work.
My example
<button md-icon-button (click)="on{{scial.name}}()"><i class="{{social.icon}} "></i></button>
it's on *ngFor
Is it realy to do?
{{}}is not supposed to be used together with[input]or(event). If you use[]or()then usex + 'y'to concatenate strings in the expression.