I'm aware that Angular removes the script tags in the component.html files, but from all the different forums I've checked out, I haven't found one to successfully solve my problem.
I'm trying to put this code into my ontology.component.html file
<script>
var widget_tree = $("#widget_tree").NCBOTree({
apikey: "<my-api-key>",
ontology: "ENVO"
});
</script>
My index.html already has the necessary scripts as well
<link rel="stylesheet" type="text/css" href="../src/widgets/jquery.ncbo.tree.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="../src/widgets/jquery.ncbo.tree-2.0.2.js"></script>