Refactored easyTable into own directive