time directive ensure that node is removed from dom