cordovaCamera Not returning url


#1

I have had the $cordovaCamera.getPicture(option) working for a few days and today I am faced with the broken link image in my ng-src I get this message in the console.
Request URL:data:image/jpeg;base64,file:///storage/emulated/0/Android/data/com.ionicframework.ionicblankapp/cache/1464881487634.jpg net::ERR_INVALID_URL

my whole function is this:

vm.addPicture = function () { var option = { quality: 90, destinationType: Camera.DestinationType.FILE_URI, sourceType: $cordovaCamera.CAMERA, allowEdit: false, encodingType: Camera.EncodingType.JPEG, targetWidth: 1056, targetHeight: 592, saveToPhotoAlbum: true, correctOrientation: true }; $cordovaCamera.getPicture(option).then(function (imageData) { vm.imgUri = "data:image/jpeg;base64," + imageData; }, function (err) { // An error occured. Show a message to the user console.log(err); }); };
<a ng-click="vm.addPicture()"> <img ng-show="vm.imgUri !== undefined" ng-src="{{vm.imgUri}}" style="width: 45%;"> <img ng-show="vm.imgUri === undefined" ng-src="img/camera-placeholder.png"/> </a>

I have deleted the android folder and re-installed the folder but still get the same error, but nothing has changed.

Any suggestions?