I trying to get data from a JSON file to build a form.
Here is a portion of my template:
I guess what you want is
*ngFor="let p of heroes?.data"
because heroes seems to be an object, and ngFor can only iterate array. The level property also is in an array item.
heroes
ngFor
level