title: Applying ng-click to a table column
body: <p>Is it possible to apply ng-click in AngularJS to a table column? I tried the following, which doesn't seem to do the trick.</p>
  
  <pre><code>&lt;table&gt; 
      &lt;colgroup&gt;
        &lt;col ng-repeat="item in items" ng-click="myFunction(item)"&gt; &lt;/col&gt;
      &lt;/colgroup&gt;
  
      &lt;thead&gt;
        &lt;tr&gt;
          &lt;th ng-repeat="item in items"&gt; {{item.title}} &lt;/th&gt;
        &lt;/tr&gt;
      &lt;/thead&gt;
  
      &lt;tbody&gt;
        &lt;tr&gt;
          &lt;td ng-repeat="item in items"&gt; {{item.info}} &lt;/td&gt;
        &lt;/tr&gt;
      &lt;/tbody&gt;
   &lt;/table&gt;
  </code></pre>