title: angular $state.reload not working
body: <p>I have a state set up for logging out a user. I have it set up like this:</p>
  
  <pre><code>.config(['$stateProvider', function ($stateProvider) {
  
      // Now set up the states
      $stateProvider.state('login', {
          url: '/account/login',
          templateUrl: 'app/account/login/login.tpl.html',
          controller: 'LoginController',
          controllerAs: 'controller'
      }).state('logout', {
          url: '/account/logout',
          resolve: {
              logout: ['$state', 'AccountService', function ($state, account) {
                  console.log('start logging out');
                  account.logout();
                  console.log('logging out');
                  console.log($state);
                  $state.go('login');
                  console.log('logged out');
              }]
          }
      });
  }])
  </code></pre>
  
  <p>When I navigate to the <strong>logout</strong> state all the console.logs are hit, but the $state does not change.
  I have tried several things:</p>
  
  <pre><code>$state.go('login', {}, { reload: true });
  </code></pre>
  
  <p>and </p>
  
  <pre><code>$state.go($state.current, {}, { reload: true });
  </code></pre>
  
  <p>and </p>
  
  <pre><code>$state.reload();
  </code></pre>
  
  <p>but no matter which one I try, I can not get the $state to change to the correct state.</p>
  
  <p>Does anyone know why?</p>
  
  <p><strong>Update</strong></p>
  
  <p>so I have changed my state to this:</p>
  
  <pre><code>}).state('logout', {
      url: "/account/logout",
      templateUrl: '/app/account/logout.tpl.html', // If we don't have a template then the state will not change in our resolve
      resolve: {
          logout: ['$state', 'AccountService', function ($state, account) {
              account.logout();
              console.log('logging out');
              $state.go('login');
          }]
      }
  });
  </code></pre>
  
  <p>and it still isn't going to the login screen. The console is logging the logging out bit and if I refresh the page I am actually logged out, so that code is working fine. It doesn't doesn't redirect...</p>