Hi Jørgen, No, what you are asking is not possible (without severely altering AngularJS itself). However, what you want is better solved in another way. What about: <myapp-customer type="earth"> <myapp-customer type="wind">
then you can handle the difference in your myapp-customer component. Which in turn, depending on your preferences can be a simple template component that uses, for example, ngSwitch <https://docs.angularjs.org/api/ng/directive/ngSwitch>. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
