I have this API call, but I don\'t receive the data in my successCallback in the same order as I send it.
successCallback
for (var i = 0; i < data.length; i+
As Groben says, you could create an array of the promises for each request, and then you can use the "when" callback to execute when all are completed.