title: Angularjs dynamic ng-click binding?
body: <p>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.</p>
  
  <pre><code> &lt;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"&gt;
                                          &lt;img src="{{controls.imageSrc}}" class="image{{tabBoxes.Type}}" id="Img1" /&gt;
                                          {{controls.label}}
                                      &lt;/button&gt;
  </code></pre>