Isolate datagrid-pagination directive