Ionic ng-src not working in uwp app

I download image file in cordova.file.dataDirectory
and I make sure file.

I use ngCordovaFile. So detail source is for understanding this problem.

In js file:
$scope.filepath="C:/Data/Users/DefApps/AppData/Local/Packages/com.ionicframework.example/LocalState/example.jpg"

In html file:
<img ng-src="{{filepath}}"/>

And I tried $scope.filepath="ms-appdata:///local//example.jpg"

But body is just white space. Other platforms are working (ex. android, ios).

other platforms ? its working on device ? that must be because of cordova plugin you using which wont work on browser. and will work on actual device

1 Like

I’m using ngCordovaFile. So other platform is great working.
detail source is for understanding this problem.