title: AngularJS $resource update/ PUT operation?
body: <p>I'm confused as to how exactly to update a resource using $save. I've read the angular resource documentation and looked at other posts on stack overflow but I cannot seem to perform an update operation on an existing object.</p>
  
  <p>For example, I have an event object and I want to update its name and location properties. I have the start of a function that correctly takes in the eventId of a singular event.</p>
  
  <p>Here is the function so far: </p>
  
  <pre><code> eventService.updateEvent = function (eventId, eventName, eventLocation) {
  
     // Defines the resource (WORKS)
     var Event = $resource('/api/events/:id/', {id:'@_id'});
  
     // Gets the event we're talking about (WORKS)
     var event = Event.get({'id': eventId});
  
     // TODO update event
  
    };
  </code></pre>
  
  <p>How do i successfully update this resource?</p>