I wish to make a dynamic table in AngularJS, but the problem is `ng-click` does not call the function.

* Here is the fiddle : [fiddle](http://jsfiddle.net/tep78g6w/2/)
* Here is the code :

General template :

```
<div class="box">
    <dynamic-table></dynamic-table>
</div>

```

Directive template :

```
<table class="table table-striped">
<thead>
<tr>
    <th ng-repeat="column in columns" ng-bind="column.label"></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="content in data">
    <td ng-repeat="column in columns">
        <!-- Problem is here (column[function] displays 'displayCategory') -->
        <a href ng-click="column[function]()">{{ content[column.field] }}</a>
    </td>
</tr>
</tbody>
</table>

```

Directive code :

```
app.directive('dynamicTable', function () {
    return {
        restrict: 'E',
        templateUrl:'/template/Directive/dynamic-table.html',
        scope: true,
        link: ['$scope', function($scope) {
            $scope.updateCategory = function() {
                console.log("WOW");
            };
        }]
    };
});

```

When I display : `column[function]`, it shows `updateCategory`. I don't understand why when I click on it, the function is not launched...

Have you got an idea ?