title: Angular 7 - Define routes with queryParams
body: <p>I want to declare two Angular routes: </p>
  
  <ol>
  <li>For a specific item (<code>/items?id=SOME_ITEM_ID</code>)</li>
  <li>For a list of all items (<code>/items</code>)</li>
  </ol>
  
  <p>As the following isn't working, I want to know how I can define my routes to suite my needs?</p>
  
  <pre><code>export const routes: Routes = [
      { path: 'items?id=someItemId', component: ItemComponent },
      { path: 'items', component: AllItemsComponent },
  ];
  </code></pre>