This is a demo video to show how to generate components dynamically in Angular. Here, It uses Angular ComponentFactory to generate Angular components dynamically.
Checkout the written tutorials:
Part 1: https://technetzz.com/how-to-create-a...
Part 2: https://technetzz.com/how-to-create-a...
Part 3: https://technetzz.com/how-to-create-r...
Part 4: https://technetzz.com/theming-angular...
Part 5: https://technetzz.com/how-to-create-a...
Advanced nested forms: https://technetzz.com/advanced-web-fo...
Generally, component changes are done by HTML in Angular. But here this is done typescript.
You can use this sample Angular app to learn about loading components on a button click without using HTML.
Find the source code of this demo app can be found here.
https://github.com/SmadusankaB/genrat...