I am able to send a http request and get a resonse succefully, but when I send the request over HTTPS I get the following error POST "https://..../request/addimage net::ERR_INSECURE_RESPONSE"
This Is My Code
   .controller('imageCtrl', function ($scope, $cordovaCamera, $ionicLoading, $http, $ionicPopup, $ionicPopover, $state, userService, $ionicSideMenuDelegate, $rootScope, $cordovaDevice) {
var imageX; //save the base64
           $scope.takePhoto = function(){
             var options = {
                          quality: 50,
                          destinationType: Camera.DestinationType.DATA_URL,
                          sourceType: Camera.PictureSourceType.CAMERA,
                          allowEdit: true,
                          encodingType: Camera.EncodingType.JPEG,
                          targetWidth: 50,
                          targetHeight: 50,
                          popoverOptions: CameraPopoverOptions,
                          saveToPhotoAlbum: false,
                          correctOrientation:true
                        };
        $cordovaCamera.getPicture(options).then(function(imageData) {
          imageX = imageData;
        }, function(err) {
          // error
        });
        };
        $scope.uploadPhoto=function(){
var uuid = $cordovaDevice.getUUID();
    var dataj ={
        image:imageX,
        device_id:uuid,
        picture_format:"jpg"
    };
    $http.post('https://..../request/addimage',dataj)
    .success(function (data) {
 //success
}).
    error(function (data, status) {
  //error
 });
    };       
 })
 
    