非链式调用 $q.when(value) Returns a promise of the passed value or promise 传递变量值,promise.then()执行成功回调 $q.all(promises) Combines multiple promises into a single promise that is resolved when all of the input promises are resolved. 多个promise必须执行成功,才能执行成功回调,传递值为数组...