Custom directive ngTask done