Finally found a reasonable patterns to represtend CRUD resource in AngularJS