1

Lets say I got three different functions that make $http calls. The three functions are called one after the other.

Is there any way to know when all of them have finished?

3

1 Answer 1

3

Take a look at the documentation of promises. You can use $q.all(promises) to combine multiple promises in one new promise. The new promise is resolved when all of the input promises are resolved.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.