title: Pass Angular.js binding to javascript function
body: <p>Allow me to begin by saying that I am a C++ developer by profession and have extremely poor javascript skills, so please forgive me if this is a basic question.  What I am trying to do is take a string being generated from an Angular binding and pass it to a function in javascript.  I have included an example below.  Note that I am trying to pass {{x.VodName}} to the function called "MyFunction(vodName)".  Thanks in advance!</p>
  
  <pre><code>&lt;tr ng-repeat="x in names"&gt;
  &lt;td&gt;&lt;a id="myLink" href="#" onclick="MyFunction({{ x.VodName }});"&gt;{{ x.VodName }}&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;{{ x.Stream }}&lt;/td&gt;
  &lt;td&gt;{{ x.ReplayTime }}&lt;/td&gt;
  &lt;td&gt;{{ x.Duration }}&lt;/td&gt;
  &lt;td&gt;X&lt;/td&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;script&gt;
  function MyFunction(vodName)
  {
      window.alert(vodName);
  }
  </code></pre>
  
  <p></p>