finishing migration from element directives to attr directives