#2 table row click directive added. removed hatch permission stuff.