title: How to pass parameter between states not in a url?
body: <p>I am wondering how can I pass parameters, that won't be visible in URL?</p>
  
  <p>As of now I have:</p>
  
  <pre><code>{path: '/editUser/:userId', name: 'Edit User', component: UserEditComponent}
  </code></pre>
  
  <p>And when I navigate to this view like that:</p>
  
  <pre><code>&lt;a href="#" [routerLink]="['Edit User',{userId: id}]"
  </code></pre>
  
  <p>The <code>userId</code> will show up in the URL.</p>
  
  <p>How can I set it, so that it is not visible in the URL?</p>
  
  <p>Thanks</p>