0

I'm using angular 4 in my project where I'm having 3 different sidebars (i.e with different content). I've enclosed an image below. In that, I want the component separation to be like. HomeScreen with no Sidebar. And Screen 1 with sidebar 1, Screen 2 With sidebar 2, Similarly sidebar 3 on the third screen. Which will be the efficient method to separate those sidebar components

enter image description here

VinoPravin
  • 947
  • 3
  • 17
  • 32

2 Answers2

0

Create parent component for those pages which have sidebar or you can hide this sidebar based on the route. like you can hide sidebar when route is home.

Vijay Sankhat
  • 341
  • 3
  • 17
0

Got Exactly What I'm Looking for , Angular Dynamic Sidebar

VinoPravin
  • 947
  • 3
  • 17
  • 32