1if 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.
2
3How to get the HTML for a DOM element in javascript
4
5If you're really stuck on using jQuery, there are lots of posts about how to create directives for using jQuery.