title: Using script tag in Angular 6 component.html
body: <p>I'm aware that Angular removes the script tags in the <code>component.html</code> 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 <code>ontology.component.html</code> file</p>
  
  <pre><code>&lt;script&gt;
    var widget_tree = $("#widget_tree").NCBOTree({
       apikey: "&lt;my-api-key&gt;",
       ontology: "ENVO"
    });
  &lt;/script&gt;
  </code></pre>
  
  <p>My <code>index.html</code> already has the necessary scripts as well</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="../src/widgets/jquery.ncbo.tree.css"&gt;
  &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="../src/widgets/jquery.ncbo.tree-2.0.2.js"&gt;&lt;/script&gt;
  </code></pre>