I have a single page app. Currently my templates stored in index.html e.g.
<script id="button" type="text/html">
<a class="button" href="#" id="${id}">
${value}
</a>
</script>
Is it a best practice to store them in such way? I've found jQuery templates - where should I put them? but there is no acceptable answer.