Add UI component as subview on runtime


I need to a UI component as a subview in another view which is in main component.
I need to add it dynamically on runtime only using ts (not with html as html gets loaded when view got loaded onInit).

Please give a suggestion to resolve this. Thanks in advance!!