Is there a way to embed a gist, which is given as a script:
<script
src="https://gist.github.com/Slugpotato/bce9877d9c38d7415960e18fadc4efd7.js">
</script>
in Angular 4? I'm creating tutorials so I don't want to keep every gist in the index.html file but rather in the typescript file associated with each component if possible. Sorry if this is a repeat question, I just can't seem to find an easy answer for this.
Edit: To clarify, Angular doesn't allow tags in the html templates of each component, so I was wondering how one can embed gists, which come in the form of a script, in a component's typescript file.