I am reading a Json file and dynamically creating the elements using angular template.I wanted to bind the event to ng-click which is mentioned in the json file,but it throws exception.Kindly help. Thanks in Advance.
<button id="{{controls.id}}" ng-click='{{controls.onAction}}' title="{{controls.tooltipText}}"
ng-mouseover="mouseOver(this)" ng-mouseout="mouseOut(this)" style="font-size: 70%;
border: none; border-spacing: 1px;" class="button">
<img src="{{controls.imageSrc}}" class="image{{tabBoxes.Type}}" id="Img1" />
{{controls.label}}
</button>