Jagan C Jagan C - 2 months ago 5x
AngularJS Question

Access locally stored Images in Ionic

Currently I am developing an application, where the images downloaded from server has stored locally (MyApp/Images/image1.jpg).
Images are stored as an array. First Image getting displayed successfully, however other two images not shown, a black screen is coming. But from folder i can access all 3 images.


After trying to many solutions, I found simple safe apply does the work.

if ($scope.$root.$$phase != '$apply' && $scope.$root.$$phase != '$digest') {