I am trying to reassign several directives (as attributes) from a 
transcluded directive into a child element of the template.

My approach was to remove the attribute from the parent (transclusion 
element) and set the same attribute on a child element in the template 
during the compile phase of the parent element.
The issue I ran into was that after I removed the attribute, it was still 
linking this directive on the parent element. Resulting that the moved 
directive is doing it's work on both elements.

Is there any way to get rid of this issue?

I created a Plunker to reproduce this issue. I commented the code in app.js 
and printed out the results in the dev console.

http://plnkr.co/guTaW2


Thanks in advance!

Best,
Remo

-- 
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.

Reply via email to