title: Pass Data from Guard to Component
body: <p>My child route components are querying some data from an API. Currently I'm checking in the components if the id supplied as a route param is valid by checking the data the API returned.</p>
  
  <p>I consider this as bad style and want to place the check into a guard that is checking if the supplied params are valid before the component gets activated.</p>
  
  <p>However, I also want to save time and resources. This would require two API requests. Therefore I'm wondering if there is a possibility to pass data from the guard to the component. I thought about passing along with the route params but <code>canActivate</code> only provides a <code>ActivatedRouteSnapshot</code> which is read only.</p>
  
  <p>Therefore my question: Is it possible to pass data from a guard to a component? Or is there another (even better) way to save resources and prevent multiple API requests in such cases?</p>