Hi i have object of multiple keys and values
The Response object has the follwing :
Object
MainID:"589d8ddaf7045b29b5101cdc"
Url:Array[5]
0:Object
_id:"589d8ddaf7045b29b5101cdd"
url:"images/product_images/file-1486720474060.jpeg"
1:Object
_id:"589d8e1d142ef52a4ffb8285"
url:"images/product_images/file-1486720541230.jpeg"
2:Object
_id:"589d8eda142ef52a4ffb8288"
url:"images/product_images/file-1486720730226.jpeg"
This is my angular code :
$scope.data = response;
And this is my html code :
<div class="add-pic-box1 col-md-3" ng-repeat="datas in data">
<img class="thumb" ng-repeat="img in data.Url" ng-model="add_new_ads_mdl.img_add" imgid = "{{img._id}}" src="{{img.url}}" />
<span><i class="fa fa-times" ng-click="close_img(data.url._id)"></i></span>
</div>
Can anyone help me please , thanks in advance ..