title: Angular UI Router - "could not resolve state" with parameters
body: <p>I am <em>very</em> simply trying to use the Angular UI router. I have just two states are the moment and they are crazy simple. Here's a bit of my app:</p>
  
  <pre><code>    .config(function($stateProvider, $urlRouterProvider){
  
          $stateProvider
              .state('items', {
                  url: '/items',
                  templateUrl: 'src/components/Items/list.html',
                  controller: 'ItemsController'
              })
              .state('item-details', {
                  url: '/item-details/:itemId',
                  templateUrl: 'src/components/Items/details.html',
                  controller: 'ItemDetailsController'
              });
  
          $urlRouterProvider.otherwise('/items');
  
      });
  </code></pre>
  
  <p>And a bit of my HTML:</p>
  
  <pre><code>&lt;a ui-sref="item-details/{{item.id}}"&gt;{{ item.name }}&lt;/a&gt;
  </code></pre>
  
  <p>When I type <code>item-details/194</code> manually into my browser, things work like a charm. But, when I try to follow the link I've listed above, I get this error:</p>
  
  <pre><code>Error: Could not resolve 'item-details/194' from state 'items' at Object.y.transitionTo
  </code></pre>
  
  <p>I'm hoping I'm doing something pretty obvious, but this is proving to be trickier than I expected!</p>