title: ui-router resolve showing previous resolve result on first load, sometimes not showing at all on reloads
body: <p>So I have it structured like this.</p>
  
  <p>Relevant state code:</p>
  
  <pre><code>       resolve:{
            projectPromise: ['$stateParams', 'projects', 'session', function($stateParams, projects, session){
              projects.getProject($stateParams.id).success(function(data){
                session.currentProject = data;
              });
  
            }]
          }
  </code></pre>
  
  <p>getProject:</p>
  
  <pre><code>  o.getProject = function(project_id, container){
     return $http.get('/project/' + project_id);
    };
  </code></pre>
  
  <p>Inside of the relevant controller: </p>
  
  <pre><code>$scope.currentProject = session.currentProject;
  </code></pre>
  
  <p>And inside of the relevant template:</p>
  
  <pre><code>{{currentProject.title}}
  </code></pre>
  
  <p>When I navigate to /projects/:projectid for the first time, it shows the title of the correct project. If I go back and navigate to a new project, however, it still shows the title of the first project. Then when I refresh it shows the correct title. If I keep refreshing after that sometimes the title doesn't appear at all. I'm sure a lot of my problem stems from not having a good understanding of how to structure all of this, like where exactly to call getProject and if getProject should store the result of the $http.get request in a container passed as a parameter or just return like I currently have. Any advice at all is appreciated, thanks!</p>