I'm trying to figure out how one might extend functionality to all 
directives, or at least all in a given module.

I have one example use case, 'initialize an empty element of the same name 
as the directive, to get around IE's weak html5 compatibility', but there 
are many others.


So far I've only come up with 2 ways to accomplish anything close to this:

https://gist.github.com/wishfoundry/8387418
https://gist.github.com/wishfoundry/8387308

The first is quite hacky, and would not apply to module dependancies. The 
second is less hacky but only selects one component.

Is there a more angular way to do this, or this worth a feature request?

-- 
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/groups/opt_out.

Reply via email to