I am using AngularJS and Cordova, and I'm using Visual Studios 2013 to simulate the cordova application.
I have a bunch of image files inside the ms-appdata:///local/ directory and I'm trying to show those images by using ng-src="{{img}}" where $scope.img = "ms-appdata:///local/image.jpg"
HTML
<img ng-src="{{img}}" alt="" />
JavaScript
$scope.img= "ms-appdata:///local/image.jpg";
When I run this code I dont even get the missing image icon thing at the top, its almost like there is no image at all.
when I change ng-src="{{img}}" to src="ms-appdata:///local/image.jpg" the image shows up no problem.
I have already tried $sce.trustAsResourceUrl("ms-appdata:///local/image.jpg").$$unwrapTrustedValue() as another Stack Overflow answer suggested doing.