replace dataTable partial with directives