Added PUT support to $resource
Added processing for PUT requests
Changed click event to updateUser
Added in processing for update/PUT action