added all attributes to custom directive