I have this object:
data = {
campaign: {
testeA: 1,
testeB: 2,
testeC: 3
}
category{
categoryA: 15
}
...
}
I want to bind it on my template, so I tried using keyValuePipe
<p *ngFor= "let item of data| keyvalue"> {{item.key}}</p>
It's working and is showing the text campaign and category, but I need to show the results too How can I do it?