...please see plunker <http://plnkr.co/edit/c54XK1GSmsfCdUbZRdIo?p=preview>. I am able to modify clone but cannot figure out a way to set it as content for ng-transclude'd tag without resorting to jquery.find('[ng-transclude]'). on the other hand, doing element.empty().append(clone); blows away other directive markup - outside of ng-transclude - not what I want.
FWIW I am trying to build an in-place editable widget - that toggles between two arbitrary (read vs write) components - meant to either display or edit a form property. Assuming that the way to go is to create a transclude-enabled widget with 'toggle read/write' control and manipulate visibility of read/write components (ie transcluded content). Hence the above question. thanks, -nikita -- 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.
