I am trying to load components dynamically from the response of an API Call.
Lets say I have 3 components/widgets A, B and C. Depending on the response of the API call, I have to load either A, B, C or any combination of them in any order (like load them in the order of C and then B). Somewhat like a CMS on the client side.
The one solution I thought of was using getting HTML code with ids of components from the API and using [innerHtml].
Are there any alternative solutions where I can get a list of widget/component from API, and load them in Angular Dynamically?