0

I have the following list with multiple array: http://hpics.li/8fcfac4

I would like the display the name with AngularJS. So I am doing:

<li data-ng-repeat="deals in filteredDestinations | startFrom:(currentPage - 1)*pageSize | limitTo:pageSize">{{deals.name}}</li>

It like an array of an array?!

Thanks for helping!

2 Answers 2

1

Your question is very hard to understand but I may have a solution for you. Since you have an array called images you will need to loop through that once more.

<li data-ng-repeat="deals in filteredDestinations | startFrom:(currentPage - 1)*pageSize |    limitTopageSize">
    <span ng-repeat="image in deals.images">
       {{image.name}}
    </span>
</li>
Sign up to request clarification or add additional context in comments.

Comments

0

You can do this.

<span ng-repeat="singleParent in parentArray">
    <span ng-repeat="childItem in singleParent.childArray">
        {{childItem.name}}
    </span>
</span>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.