I am working on Angular questionnaire application part of which, I need to dynamically generate angular html template based on type and structure of question requested. for example I receive three questions where question 1 is radio button selector, question 2 is multiple selector and question three is free text, so in this instance component read three questions with 3 different type and is expected to generate template.html accordingly.
I need to know what is best way to approach this implementation.
one way I can think of dynamically generate html i.e. radio, multiple selector and free text
data is coming from Web API2/ .net core