How can I put an Angular component into the navbar?
I solved this by separating two divs in one component to two components.
Then pass the data via parent-child relationship using @Input() decorator, from sidebar-dashboard to the list component.
Then the separated components which has no relationship, I used service to pass the data, so that whatever is selected in list component will produce its details in the results component.