For my following code:
$http({
    method: "POST",
    url: applicationUrl + '/Order/GetTax',
    params: { ShippingId: shippreference },
    contentType: "application/json; charset=utf-8",
    dataType: "json"
}).success(function (data) {
    if (data != "ADDED_FAIL") {
        $scope.getTaxData = data;
        $scope.shippingHandling = data.TotalShipping;
        $scope.Tax = data.TotalTax;
        $scope.CouponSaving = data.Coupons.length == 0 ? null : data.Coupons[0].Amount;
        $scope.CouponSavingDesc = data.Coupons.length == 0 ? null : data.Coupons[0].Description;
    } else {
        $('#popLoader').hide();
        jAlert('Internal Technical Error. Please try again!');
        taxErrorFlag = false;
        return false;
    }
    $('#popLoader').hide();
}).error(function (x) {
    jAlert(x);
});
I upgraded my site to jquery-2.2.4.js and AngularJS v1.7.6. And got the following error:
TypeError: $http.get(...).success is not a function
To fix the error I replaced .success with .then I did this on the advice of this answer: $http.get(...).success is not a function
However, I then got the error.
  TypeError: $http(...).then(...).error is not a function
I am not sure what to do next...
 
     
    