I have some issues creating an onclick eventhandler in an angular app.
<a onclick="OpenCalloutAndSelectItem(this, event, this, '({{fileInfo.id}})'); return false;" id="padocitem_{{fileInfo.id}}">...</a>
outputs:
<a onclick="OpenCalloutAndSelectItem(this, event, this, '({{fileInfo.id}})'); return false;" id="padocitem_13">...</a>
Instead of writing the value of fileInfo.Id in the onclick eventhandler the words "fileInfo.id" is being printed.
In the id attribute of the tag I do get the correct value.
What is the trick here?
ng-click?ng-click="OpenCalloutAndSelectItem(this, $event, this, '(fileInfo.id)');?