I'm facing the same problem... The extra tag is breaking some CSS from a framework I'm using.
You are suggesting to use an attribute component, but how can I create one? Is there any example? Do I only need to add the '[my-component]' on the selector? On Tuesday, November 10, 2015 at 9:37:05 PM UTC, Ben McFerren wrote: > > In Angular 1 replace: true on a directive definition would eliminate the > artificial <my-directive></my-directive> element from the dom and simply > include the HTML elements found in the directive's template. > > Is there an equivalent to this for Angular 2 components? So that I can > avoid seeing <my-directive></my-directive> in the dom when I use one of my > components? > -- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
