lorenzofox3/Smart-Table — pull request #57 by pheuter (2013-10-08 15:16:32+00:00)
Title: Update row directive to call optional function for customization

During `smartTableDataRow` linking, if `rowFunction` exists on the configuration, call it with the `link` arguments to achieve additional customization over row behavior and state.

Addresses #32.

Example:

**template.html**
```html

```

**controller.js**
```javascript
scope.myConfig = {
rowFunction: function (scope, element) {
if (scope.$last || scope.dataRow.points > 10) {
element.addClass('highlight');
}
}
}
```