Is it possible to pass angular js
data available on a cshtml
page to a button click event?
the angular js
object is referenced as item.property. {{item.property}}
works well between the html tags.
The function is:
function ShowFileDialog(ProjectID)
{
alert(ProjectID);
}
The cshtml
that I would like to do is something like this, but clearly is very wrong.
<button id="button-view" onclick="ShowFileDialog({{item.projectId}})"></button>
I already have a work around - so others are not needed.