### `DTDefaultOptions`

You can provide default options to set for all your datatables, such as the language, the number of items to display...

Helper/Wrapper | API | Description
--- | --- | ---
`DTDefaultOptions` | `setLanguageSource(sLanguageSource)` | Set the default language source for all datatables. angular.module('myModule', ['datatables']).run(function(DTDefaultOptions) { DTDefaultOptions.setLanguageSource('/path/to/language'); });
`DTDefaultOptions` | `setLanguage(oLanguage)` | Set the default language for all datatables. angular.module('myModule', ['datatables']).run(function(DTDefaultOptions) { DTDefaultOptions.setLanguage({ sUrl: '/path/to/language' }); });
`DTDefaultOptions` | `setDisplayLength(iDisplayLength)` | Set the default numbers of items to display for all datatables. angular.module('myModule', ['datatables']).run(function(DTDefaultOptions) { // Display 25 items per page by default DTDefaultOptions.setDisplayLength(25); });

`DTDefaultOptions`

`setBootstrapOptions(oBootstrapOptions)`

Set the default options for Bootstrap integration.
angular.module('myModule', ['datatables']).run(function(DTDefaultOptions) { // Override the Bootstrap default options DTDefaultOptions.setBootstrapOptions({ TableTools: { classes: { container: 'btn-group', buttons: { normal: 'btn btn-danger' } } }, ColVis: { classes: { masterButton: 'btn btn-primary' } } }); });

`DTDefaultOptions` | `setDOM(sDom)` | Set the default DOM for all DataTables. angular.module('myModule', ['datatables']).run(function(DTDefaultOptions) { DTDefaultOptions.setDOM('lpfrtip'); });
`DTDefaultoptions` | `setOption(key, value)` | Set a default option for all DataTables. angular.module('myModule', ['datatables']).run(function(DTDefaultOptions) { DTDefaultOptions.setOption('dom', 'lpfrtip'); });