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