I try my best to make the array look as I would like.
I have:
$scope.array = [["one", "two", "three", "four"], "five"],["six", "seven", "three", "four"], "two"]];
And I want to iterate and display the rows in the first array. I would like to display:
one two three four six seven three four
I currently have the following:
<p ng-repeat="a in array">{{a[0]}}</p>
But it goes like:
["one", "two", "three", "four"]
["six", "seven", "three", "four"]
I tried a filter to remove quotes, etc., but it continues to pull up another array.
source
share