Run a Service Function inside an Angular Routing Module class
So the basic story... At the top of this SPA is a 'top-bar' component, and inside that component is a search-bar component. Now - there are a few 'landing pages' where we want to turn this search-bar component off. I understand the process of using this through a service (since the 'landing pages' in question aren't directly connected to the search-bar component. And in and of itself - I had this working... The problem comes from the fact that if you land on one of these landing pages, and this search-bar gets turned off... If you leave the whole section and go to a different area that needs