Angular JS operation array problem

has an array of $scope.lottery
with two variables ID and score

now you keep getting data from the server"s interface, and you want to keep changing the score in the array. If you operate.

an array is easy to operate when there is only one array. It can be emptied directly in push
but if there are many groups of data in the array, how to update each score to, headache

Mar.28,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d4ef-2c366.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d4ef-2c366.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?