title: ui-router: Is there a way to have variables in the beginning of the url?
body: <p>I'd like to have a variable in my route like this:</p>
  
  <pre><code>    $stateProvider
      .state('edit', {
          url: ':organization/edit',
          templateUrl: 'partials/edit.html',
          controller: 'editController',
          controllerAs: 'editController'
      })
  </code></pre>
  
  <p>And have that working at the same time as using</p>
  
  <pre><code>$urlRouterProvider.otherwise('index');
  </code></pre>
  
  <p>Is that possible? Because what I find is that the otherwise-rule kicks in when I try to go to</p>
  
  <pre><code>myOrganization/edit
  </code></pre>
  
  <p>and then I'm redirected to index. What am I missing here?</p>