title: ng-click does not fire javascript global function
body: <p>I'm new to AngularJS, and I've put an ng-click on a radio button generated by
  ng-repeat, and the click event refuses to fire. If I use a simple onclick,
  that does work though.</p>
  
  <p>This works, and I see the alert:</p>
  
  <pre><code>&lt;div class="span2 left-justify"
          ng-repeat="choice in physicalmode_choices"&gt;
      &lt;input type="radio"
              name="physical_layer"
              value="{{ choice.private }}"
              onclick="alert('foo')"
              required
              ng-model="$parent.networkoptions.physicalmode" /&gt;
              &amp;nbsp;&lt;span ng-bind="choice.public"&gt;&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But this does not:</p>
  
  <pre><code>&lt;div class="span2 left-justify"
          ng-repeat="choice in physicalmode_choices"&gt;
      &lt;input type="radio"
              name="physical_layer"
              value="{{ choice.private }}"
              ng-click="alert('foo')"
              required
              ng-model="$parent.networkoptions.physicalmode" /&gt;
              &amp;nbsp;&lt;span ng-bind="choice.public"&gt;&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Can I not do this with an ng-click? Or am I misunderstanding what an "expression" is?</p>
  
  <p>Thanks,
  Mike</p>