🔒 14 harder puzzles locked — reach 🥷 Console Cadet to unlock.
01var p1 = $http.get('/a');02var p2 = $http.get('/b');03▢ ▢ ▢ ▢.then(function(results) {04 $scope.a = results[0].data;05 $scope.b = results[1].data;06});
$q.all([p1, p2])
p1.then(function() { return p2; })
Promise.all([p1, p2])