I modified your sample, the last post with the replace (set in the hash) is notworking (tried to figure out why my version did not work in your code). Your answer was http://plnkr.co/edit/YPvXSpfZ0zdZZoQN4iHJ?p=preview - with no replace in the hash.
The we-do-the-ng-transclude manual in the link function has not gone unnoticed ;) Am Samstag, 13. September 2014 09:55:30 UTC+2 schrieb Sander Elias: > > Hi Anton, > > Perhaps you noticed that I DO replace the DOM in the sample you just > posted, and it doesn't use a normal ngTransclude at all. > In this case I do a replace because I want to get rid of the stuff that > might be there in the first place! Exactly the opposite ;) > > 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.
