M
M
MrCroissant2015-12-20 20:05:40
JavaScript
MrCroissant, 2015-12-20 20:05:40

How to combine all objects in an array into one javascript cell?

There is an array myArray:
0cfd51f457e849f3a168d40f910702ff.jpg
In which objects of this kind lie:
ee9846c495e84c1099fc22df004bfe45.jpg
Now I can display data from the array only like this myArray[cell number]
How can I combine data from all cells into one? so that for example when I wrote myArray[0] I would get data from all cells?
I need to collect data from all cells into one

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimon, 2015-12-21
@Glimor

If you want to display in DOMe , then

<div ng-repeat="array in myArray">
    <img ng-src="{{array.imageUrl}}" alt=""> 
   <i>{{array.createdDate}}</i>
</div>

Something like this,

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question