directives: add an attribute which delegates to ngClick for relevant directives

Also remove useless asId & asClass attributes, id & class can be directly passed on the custom elements