I\'m writing an angularjs app relying on promises, and though it\'s working, I wonder if I could do it more optimally.
At the beginning of the code, I\'m creating a
You need parallel execution: $q.all()
$q.all( function1, function2, function3 ).then(function(responses) { console.log(responses); });