bolded text
I am struggling to display two arrays side by side in an angular template. I attempted to use ngFor inside a div and span but the result was not as expected. A=[1,2,3,4] B=[A,B,C,D]
Current Outcome using ngFor with div and span :
Using Div :
1
2
3
4
A
B
C
D
Using Span: 1 2 3 4 A B C D
Expected output:
1 A
2 B
3 C
4 D
The desired output should look like the above, seeking assistance for achieving this.