1
는 AngularJS와의 $http.get()
약속 시스템에서
$.when.apply([ $.ajax(), $.ajax() ]).done(function(){
// all the ajax's are done now...
})
에 해당 할 수있는 방법이 있나요?
는 AngularJS와의 $http.get()
약속 시스템에서
$.when.apply([ $.ajax(), $.ajax() ]).done(function(){
// all the ajax's are done now...
})
에 해당 할 수있는 방법이 있나요?
문제가 해결됩니다
$q.all([async1, async2]).then(...)
newPromise를 사용하는 것이 좋습니다 언제 당신의 함수의'$ 범위'를 아약스 호출의 결과로 설정할 수 있습니까? – adeneo