AngularJS : multiple promise wait all -
I have a little question about the many promises
getInfo: function () { Return promise. Then (function result) {info = result; // This function has also promised to return ServiceA.functionA (info.login). Then (function (favorite) item (info.favorites = favouriteItems; return $ q.when (info);});});
DivX
I wrote a reply to another question explaining this problem using the $ q.all approach.
Check it out:
Comments
Post a Comment