redo like, dom in directive