Dynamically load ionic component

Hi,
I have an issue with loading ionic components dynamically according to my API response.
Can anybody help me on this.
“values”:[
“type”:“drop_down”,
“title”:“sample(if required)”,
“require”:“0”,
“sort”:“1”,
“values”:[
{
“text”:“option1”,
“value”:“13”
},
{
“text”:“sample2”,
“value”:“11”
}
]
According to “type”:“drop_down” the HTML control should be set.Type may be any.

Thanks in advance…

Hello,

maybe like

<whatever  *ngIf='item.type== "bla"' ></whatever  >
<whatever2  *ngIf='item.type== "blub"' ></whatever2  >

or any other similar structural directive.

Best regards, anna-liebt

@anna_liebt thanks for your reply.But actually i meant not like this.
for Eg:if my type is drop down,i wanna show ion select.Similarly i have to load components according to the type value.Also these all are in a single array ‘values’.