Wijmo is aware of this issue and says it's a known bug. The workaround I'm using is this:
$scope.cellStyleFormatter = function(args) {
if ((args.row.type & wijmo.grid.rowType.data) && (args.row.state & wijmo.grid.renderState.rendering)) {
var content = args.$cell[0].innerHTML;
//Here I have button html already in my grid data, using
//'my-link-class' css
if(content.indexOf("my-link-class") > -1) {
var scope = angular.element("#grid-container").scope();
args.$cell
.empty()
.append($(content).click(function () {
scope.myControllerClickHandler();
})
);
}
return true;
}
};
And I declare my grid like so:
<wij-grid data="template.model.content" allow-editing="false" cellStyleFormatter="cellStyleFormatter">
<columns>
<column dataKey="col_0" ></column>
</columns>
</wij-grid>
I am using cellStyleFormatter above because I can apply it globally to the whole grid. You can use cellFormatter if you know the column ahead of time (my application has variable number of columns so this wasn't an option for me). You would reference args.container instead of args.$cell if using cellFormatter.
Here is a link to wijmo's explanation: http://wijmo.com/topic/wig-grid-with-angularjs-how-to-handle-click-on-a-link-in-a-cell/