Since I have never set up an example with plunker I shyed away from it as I 
did not know how to set up the directives and all that stuff.
But you are right, I should definitly learn how to set up examples via 
plunker..

What happened in my application is that (depending on the HTML element the 
ng-transclude was attached to) the browser (firefox in this case)
seemed to insert those elements into the DOM that it seemed most fitting. 
If I used a span, the table cells from the transcluded code turned into
simple text nodes. If I used a td for transclution, the td's remain but got 
an extra tr around them, So, I guess the problem is not on angulars side
but rather on the browser that tries to turn invalid HTML into valid HTML. 
Therefore, the only solution I could see would have a transclude directive
that removes the transclution element itself. But if I understand the inner 
workings of angularjs correctly, the enclosing element is needed to keep
the scope correct? 

Anyway, I completely changed my directive such that I do not need to 
generate potentially incorrect HTML and that seems to work nicely and it
also looks better from the  usage point-of-view.

Thanks for your anwser.

Regards,

Jürgen


On Saturday, May 3, 2014 10:13:22 AM UTC+2, Sander Elias wrote:
>
> Hi Jürgen,
>
> Does it not render the cells, or are there empty cells? It would be much 
> easier to help you if you would provide a plunker!
>
> 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.

Reply via email to