title: Angular UI router - Pass dynamic data with a route?
body: <p>I have a couple of routes/states defined in my application. Consider the standard use case of list view and single view. For my single view, I pass the id as a URL parameter. I want to pass some more data, but not as URL parameters. Can this be done? I use <code>$state.go</code> for transitioning to states.</p>
  
  <p>Edit:</p>
  
  <pre><code>$stateProvider
      .state('list', {
          url: '/list',
          ...
      })
      .state('single', {
          url: '/single/:id',
          ...
      });
  </code></pre>
  
  <p>I get the <code>id</code> in the <code>$stateParams</code> in the respective controller, from the URL. But I want to send more dynamic data to this route, without sending it through the URL. How would I do it?</p>