title: $state.go does not change state due to error
body: <p>These are my state definitions:</p>
  
  <pre><code>$stateProvider
              .state('schoolyears', {
                  url: '/schoolyears',
                  templateUrl: '../views/schoolyears.html',
                  controller: 'SchoolyearsController'
              })
              .state('schoolyears.selected', {
                  url: '/:schoolyearId'
              })
  </code></pre>
  
  <p>Inside the SchoolyearsController I call $state.go when the selection of a row in the datagrid changes:</p>
  
  <pre><code> $scope.myOptions = {
          data: 'myData',
          multiSelect: false,
          selectedItems: [],
          afterSelectionChange: function (rowItem) {
              if (rowItem.selected) {
                  $state.go('schoolyears.selected({ schoolyearId:' + rowItem.entity.schoolyearId + '}');
              }
          }};
  </code></pre>
  
  <p>Nothing happens in the url because in my browser console I have this error:</p>
  
  <pre><code>Error: Could not resolve 'schoolyears.selected({ schoolyearId:43}' from state 'schoolyears'
  </code></pre>
  
  <p>What I want is that the url changes to:</p>
  
  <pre><code>/#/schoolyears/43
  </code></pre>
  
  <p>Why can I not change the url?</p>