Override Loading template

There are two loading with angular-datatables:

When loading data, the angular module will display by default <h3 class="dt-loading">Loading...</h3>.

You can make your own custom loading html by calling the method DTDefaultOptions.setLoadingTemplate() like this:

Angular-datatables is using the angular service $compile. So you can use angular directives if you want.

angular.module('showcase', ['datatables']). run(initDT); function initDT(DTDefaultOptions) { DTDefaultOptions.setLoadingTemplate(''); }