title: Angular stateParams
body: <p>I'd like to put some parameters within a link. 
  Therefore I use this link:</p>
  
  <pre><code>&lt;a ng-switch-when="mp3" ui-sref="recorder.player({path : file.fullPath})"&gt;
  </code></pre>
  
  <p>Without referencing the stateParams it works:</p>
  
  <pre><code>.state('recorder.player/',{
         url:"/recorder",
         templateUrl:"app/partials/recorder/recorder.html",
         controller: "recorder"
   })
  </code></pre>
  
  <p>With stateParams it don't:</p>
  
  <pre><code>.state('recorder.player',{
         url:"/recorder/:path",
         templateUrl:"app/partials/recorder/recorder.html",
         controller: "recorder"
   })
  </code></pre>
  
  <p>Using this I go to the default </p>
  
  <pre><code>   $urlRouterProvider.otherwise("/home")
  </code></pre>
  
  <p>LogCat says this:</p>
  
  <pre><code>10 $digest() iterations reached. Aborting!
  </code></pre>