<div><SearchProjects></SearchProjects></div>
<div>
<router-outlet></router-outlet>
</div>
Whenever I change the search content depending on that I need to refresh data of router-outlet component data.
While first routing I am sharing the data using shared service, but it will not work because on init call only once. For next data for the same routing, it will not work.
I need to share data between constant search component to changing router(router-outlet) component. Some times for the same routing two different data need to be rendered.