성공/오류/최종/각도로 약속 사용JS 사용하고 있다$httpAngularJs를 통해, 반환된 약속을 어떻게 사용해야 할지, 오류에 어떻게 대처해야 할지 잘 모르겠습니다. 코드는 다음과 같습니다. $http .get(url) .success(function(data) { // Handle data }) .error(function(data, status) { // Handle HTTP error }) .finally(function() { // Execute logic independent of success/error }) .catch(function(error) { // Catch and handle exceptions from success/error/finally functions }); 이게 좋은..