title: Angular 4: Save component state after routing to another component
body: <p>I'm developing an application with angular and currently I have this problem:</p>
  
  <p>I have a component in which the user can fill three selectboxes. After that he can start a search to find the matching matches. Now they can click on a hit and have the details displayed. The details are displayed in a second component. The transition from component 1 to 2 succeeds via a</p>
  
  <pre><code>[routerLink]="..."
  </code></pre>
  
  <p>My problem is when I go back to the overview, all data must be re-entered. How can I save the state of the first component so that the user does not have to fill out the three selectboxes again? </p>