angular-floatThead is a very simple wrapper around the awesome floatThead library by @mkoryak
$ bower install angular-float-thead
- Include angular-float-thead as a dependency for your app
angular.module('myApp', ['angular-floatThead'])
-
Specify
float-thead
on your table element and optionally pass through a floatThead object as a parameter, eg:<table float-thead="floatTheadOptions">
-
If you want the directive to reinitialize when your tables data changes then specify an
ng-model
on your table and it will watch the collection/object and call 'reflow' when the data changes.