How to render dynamic html

How to render dynamic html.
I am using Ionic v3 and my project is in multiple condition based so i am implement dynamic condition in .ts file and render on html page but this way click event is not working fine.So please suggest me immediate.
and send me any sample code on my Mail for respective query.

I would suggest rethinking the design. Static templates perform better, are safer, and easier to maintain and test. If you need to render a domain language, see this post.