angular-restmod
angular-restmod copied to clipboard
Update $pk on $save
If the primary key property of a model is changed, and the model is subsequently saved, $pk is not updated. Subsequent API calls then hit the wrong URI.
The requested behaviour is consistent with the HTTP PUT spec.