This datatables directive is more targeted for AJAX use. This is why sajaxsource and mdata are always required. If this is not what you are looking for, take a look at this directive. I encourage you to look at the source of this page - it is commented and the directive should be simple enough to understand :) Example 1 - Simple First, take a look at this json file. In this example, all you need i