Splice to reorder objects using angularjs

hello,

I’m not sure if I am in the right place to post my question, I’m looking for some guidance of how to create an angularjs function to allow me to reorder list items using drag and drop or splice.

Best Regards,
Sunny