When I start separating my layout components (header, banner, sidnav, etc) 
angular 2 wraps them in a new div

Doesn't work:

SidenavComponent => selector: 'app-sidenav'

displays in the browser as: 

<app-sidenav _ngcontent-yai-42="" _nghost-yai-45="">
  ...
</app-sidenav>


Works:

Take the code out of the component template and just put it within the DIV 
of the parent component.
This removes the <app-sidenav> outter tags.


This causes the layout to be hidden and not displayed in the browser.

Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" 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.

Reply via email to