How to display array of array data in angular?

0:
result: Array(5)
0: {poll_question: "Would you be interested in providing content for this newsletter?", answer: "No", name: "admin", email: "admin@vouchpro.com", phone: "1234567890", …}
1: {poll_question: "Would you be interested in providing content for this newsletter?", answer: "No", name: "Ranu Gupta", email: "ranu@gmail.com", phone: "9981867810", …}
2: {poll_question: "Would you be interested in providing content for this newsletter?", answer: "No", name: "Gopal Verma", email: "gopal@gmail.com", phone: "9981867810", …}
3: {poll_question: "Would you be interested in providing content for this newsletter?", answer: "No", name: "Ram Sigh", email: "ram@gmail.com", phone: "2222222223", …}
4: {poll_question: "Would you be interested in providing content for this newsletter?", answer: "No", name: "Ajay Shanker", email: "ajay.shanker@vouchpro.com", phone: "9981867810", …}

======== I write code ======== <ng-template *ngFor="let comment of data;let i = index;"><tr *ngFor="let res of comment[i].result">{{res.name}}{{res.email}}{{res.phone}}{{res.poll_question}}{{res.choosen}}{{res.entry_date}}

========


Read more here: https://stackoverflow.com/questions/67412979/how-to-display-array-of-array-data-in-angular

Content Attribution

This content was originally published by AjayShanker at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: