title: How do I make an AngularJS $resource update after a POST, PUT, or DELETE request?
body: <p>In my Angular app, I've setup "project" as a <code>$resource</code>.  In my controller, I ask the server for the data over a GET request immediately when the page loads.  I can edit the information in my browser using Angular's two-way data binding, and then I can save the data back to the server via a POST request, like this:</p>
  
  <p>(edited/simplified for brevity)</p>
  
  <pre><code>function ProjectCtrl($scope, $routeParams, Project) {
      $scope.project = Project.get({id: $routeParams.projectId},
          function(data) { //Successfully received data }, 
          function(data) { //Failed to receive data },
      );
  
      $scope.saveProject = function() {
          $scope.project.save();
      };
  }
  </code></pre>
  
  <p>My Node server correctly receives the data, processes it and makes some changes, saves it to my database, and then responds with the newly updated "project" object via JSON.  Angular does not display the new object until I refresh the page.  Is there any way to make it display the new data?  I'm assuming there's a more automatic Angular way to do this than to manually call another GET request after <code>$scope.project.save();</code></p>