With the DataTables TableTools [deprecated]

The angular-datatables also provides an API in order to make the plugin TableTools work with datatables.

You need to add the file angular-datatables.tabletools.min.js to your HTML file.

You also need to add the dependency datatables.tabletools to your Angular app.

See the API for the complete list of methods of the helper.

 This extension has been retired and has been replaced by the Select extension and the Button extension.

angular.module('showcase.withTableTools', ['datatables', 'datatables.tabletools']) .controller('WithTableToolsCtrl', WithTableToolsCtrl); function WithTableToolsCtrl(DTOptionsBuilder, DTColumnBuilder) { var vm = this; vm.dtOptions = DTOptionsBuilder .fromSource('data.json') // Add Table tools compatibility .withTableTools('vendor/datatables-tabletools/swf/copy_csv_xls_pdf.swf') .withTableToolsButtons([ 'copy', 'print', { 'sExtends': 'collection', 'sButtonText': 'Save', 'aButtons': ['csv', 'xls', 'pdf'] } ]); vm.dtColumns = [ DTColumnBuilder.newColumn('id').withTitle('ID').withClass('text-danger'), DTColumnBuilder.newColumn('firstName').withTitle('First name'), DTColumnBuilder.newColumn('lastName').withTitle('Last name') ]; }