title: Angular 2 Routing based on query params
body: <p>Is it possible in Angular 2 to define routing based on query parameters? 
  I'd like to have the following behaviour:</p>
  
  <p>If the user enteres the url <code>http:&lt;server-path&gt;/search</code> I'd like to route to a <code>StartPage</code> component. </p>
  
  <p>If the user enteres the url <code>http:&lt;server-path&gt;/search?query=sometext</code> I'd like to route to <code>ResultList</code> component. </p>
  
  <p>I know that it's possible to use <em>path</em> parameters for routing but this is not what I like to do. I want to use <em>query</em> parameters if possible.
  I know how to trigger navigation in angular with query parameters but I don't know how to configure the Routes. </p>