Use of $resource in AngularJS, possibility to edit a list. I'm really enjoying AngularJS :-)