I am working on something that loads images from internet to cards, this is working fine on browser. But on device and emulator images are not loading and doesn’t loop through ng-repeat i am using JSON data with Urls. I want to load images from Urls.
Here is Code
<ion-content ng-controller="FileController" ng-init="loadImages()">
<!-- <button class="button" ng-click="shareAnywhere()">Share anywhere</button> -->
<div class="row responsive-md">
<div class="row" ng-repeat="image in myJsonData" >
<div class="col col-100" ng-if="$index < myJsonData.length">
<div class="list card" id="dailyDose-card21">
<div class=" item item-image">
<img ng-src="{{myJsonData[$index].url}}" ng-click="download('{{myJsonData[$index].url}}')" width="100%" class="image"/>
</div>
<div class="item item-body" id="dailyDose-list-item-container2"></div>
<button id="dailyDose-button1" style="color:#6D6D6D;font-size:-1px;" class="button button-positive button-icon icon ion-android-share-alt" ng-click="download('{{myJsonData[$index].url}}')"></button>
<button id="dailyDose-button2" class="button button-light button-icon icon ion-android-download"></button>
</div>
</div>
</div>
</div>
Here is how it looks in browser
Here is how it looks in device
Please Help Me Out.