Basically the angular_templates
helper method creates script tags like
<script type="app/x-angular-template" name="whichever_app/templates/foo">
template code here as html with {{}}s etc
</script>
We then reference that in angular with jQuery via $("script[name='whichever_app/templates/foo']").html()
.