javascript - angular with datatables injector error -


i'm trying angularjs working jquery datatables, i'm using samples found here: https://l-lin.github.io/angular-datatables/#/angularway

i've included required scripts, when update module include datatables error:

var testmodule = angular.module("testmodule", ['ngresource', 'ngroute', 'ngsanitize', 'datatables']); 

i following error:

uncaught error: [$injector:modulerr] error occurs when module fails load due exception. error message above should provide additional context. common reason why module fails load you've forgotten include file defined module or file couldn't loaded.

removing 'datatables' there , works without datatables. i've included below scripts in following order:

jquery.min.js jquery.datatables.min.js angular.min.js angular-datatables.js test-module.js 

in examples don't see indicate datatables come not angular-datatables.js file.

it looks "datatables" module may not have been registered. how loading js files ?