Angular *ngFor loop through an array of arrays
问题 I have an array which contains other arrays inside like that: array = [ ["element A", "element B"], ["YES", "NO"] ] And I want to loop through this array of object in an HTML table using ngFor: <table> <thead> <tr> <th>#</th> <th>COLUMN 1</th> <th>COLUMN 2</th> </tr> </thead> <tbody> <template *ngFor="let row of csvContent; let in = index"> <th scope="row">{{in}}</th> <template *ngFor="let c of row; let in = index"> <td> {{c[0]}} </td> </template> </template> </tbody> </table> I want to