I'm trying to display values of an array from a *ngFor
const blockData = [
    {text: sampleText1, array: [val1]},
    {text: sampleText2, array: [val2, dat2]},
    {text: sampleText3, array: [val3, dat3]}
]
<div *ngFor="let data of blockData">{{data.text}} 
<span>{{data.array}}</span></div>
How to display my both data.array values in my span


<span>{{data.array.join(',')}}</span></div>- or did you want to loop through the array values with another*ngFor?