https://goggleeyecup.blogspot.com/2024/04/angularjs-chain-promises-sequentially.html
Angularjs Chain Promises Sequentially Within For Loop