Add td-blur directive and fix bugs.