angular/angular.js — pull request #4019 by atomAltera (2013-09-16 17:14:53+00:00)
Title: Update resource.js

Make $save method check id field to call $create if it's undefined, or $update otherwise