@alkahtani wrote:
Can anyone help on this , as you can see in the attachment , first screen showing the images on view enter event , the image bind to $scope variable , now , when i click share button the image is disappeared, how to preserve my {{img}} when $ionicloading is showing.
,
HTML<div class="item item-thumbnail-right" style="border-width: 0px;margin-left: 5px"> <img src={{img}} style="width: 50;height: 50;"> <P>{{img}}</P> <label class="item item-input item-floating-label"> <span class="input-label"></span> <input type="text" placeholder="Write a caption" ng-model="$parent.ImgCaption"> </label> </div>
Controller
$scope.$on('$ionicView.enter', function (event, viewData) { $scope.img=UserImagesUploadService.GetimgDirectoryURL() })
Posts: 1
Participants: 1