As I delve into this codebase, one snippet keeps popping up:
$q.all([promise]).then(responseFunc);
However, I find this confusing. After reading the documentation, I wonder why not simply use the following, as it's just a single promise...
promise.then(responseFunc);
Am I overlooking something here? What makes the former approach preferable to the latter?