if(data.amountLoaned) {
      $scope.amountLoaned = data.amountLoaned / 100;
    } else {
      $scope.amountLoaned = 'N/A';
    }