Move the product tile and product list components over to the shared module for easy reuse across other modules.
While doing so, add a parameter to the product tile that will conditionally show the compare button. Add a service provider in the app module that will watch the route and set this value accordingly. Have the product list component inject the new service provider and bind the tiles to the provider.
Move the product tile and product list components over to the shared module for easy reuse across other modules.
While doing so, add a parameter to the product tile that will conditionally show the compare button. Add a service provider in the app module that will watch the route and set this value accordingly. Have the product list component inject the new service provider and bind the tiles to the provider.