Bootstrap integration

Angular Datables can also be compatible with Twitter Bootstrap 3.

angular.module('datatablesSampleApp', ['datatables']).controller('bootstrapIntegrationCtrl', function ($scope, DTOptionsBuilder, DTColumnBuilder) { $scope.dtOptions = DTOptionsBuilder .fromSource('data.json') // Add Bootstrap compatibility .withBootstrap(); $scope.dtColumns = [ DTColumnBuilder.newColumn('id').withTitle('ID').withClass('text-danger'), DTColumnBuilder.newColumn('firstName').withTitle('First name'), DTColumnBuilder.newColumn('lastName').withTitle('Last name') ]; });