Hi Huy, Short answer: No, this is not possible. What most people do in this case is prefix the directives by hand. In your case you would en up with sharedShowAvatar and emailShowAvatar. Some people like to put in a dot between the prefix and the actual name, like shared.showAvatar and email.showAvatar. Thats just a matter of preference. If I'm Informed rightly there will be namespaces in 2.x, That would be the final fix.
Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
