I have a dialog Box which has some buttons an i can set the primary="true" to make it the default answer for the user. In my case the value for primarryButton is button1 and button2 and i want the have it set if it is primary="true" the other button will have nothing.
<div>
<button class="button" kendoButton (click)="onCancelAction()" >{{Button2}}</button>
<button class="button" kendoButton (click)="onConfirmAction()" >{{Button1}}</button>
</div>
so the ngif should say in the line for Button1
*ngIf="primaryButton==='button1'" then primary="true"
but not sure how to accomplish that