convert html code to angular 8 code example
Example: angular to html converter
if you're using Angular, then avoid jQuery if possible. Instead just use an Angular function which grabs the HTML you need. Here's a post showing the javascript to grab part of a dom, so just put that in your angular fn.
How to get the HTML for a DOM element in javascript
If you're really stuck on using jQuery, there are lots of posts about how to create directives for using jQuery.