Groups
Groups
Sign in
Groups
Groups
Angular and AngularJS discussion
Conversations
Labels
About
Send feedback
Help
Batch update/save/edit with Angular resource?
768 views
Skip to first unread message
Allan Siongco
unread,
Jun 5, 2013, 6:21:10 PM
6/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
Is this possible?
Use case:
There is an array of objects returned by the angular resource
Each object has an "order" property
The UI allows the objects to be reordered via drag/drop
When the items are reordered, the "order" properties gets renumbered
All the items have to be persisted
I would appreciate any help. Thanks.
-Allan.
Allan Siongco
unread,
Jun 6, 2013, 11:44:20 AM
6/6/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
I actually figured this out... In case anyone wants to know, the way to do it is create a custom action for the resource like so:
http://pastebin.com/dq9GyY6d
Reply all
Reply to author
Forward
0 new messages