This is my object:
dynamicData =
{
uni_id:{options: [1,2,3,4]},
}
I want to use ngfor loop like this:
<option *ngFor="let opt of dynamicData.uni_id.options" value="{{opt.value}}">{{ opt.label }}</option>
The problem is : uni_id is dynamic and is available at run time. uni_id key itself is dynamic. it can be uni_id5, uni_id7 anything coming from db How can i use it in the template