Allow attribute style for directives

For flexibility. It would have been nice if the class style was also allowed but some of the directives names are already used as classes in the directives templates.