An AngularJS Factory built around $resource, adds update action which uses a PUT method