Building an application in Angular, and we want to add a fairly complex component--in a general sense, not an Angular sense--that was completely built in Javascript, originally for a separate purpose. The Javascript content currently spans several files; for the sake of simplicity, we'll say there's model.js, library1.js, and library2.js, but it's more than just those three in reality. The function render() from model.js builds the component.
I've added model.js to angular.json, but when I go to my model.html page on the Angular side, the <script> tags don't seem to work at all, whether it's:
<script>
render();
</script>
or
<script>
console.log("Hello world!");
</script>
Is there any way to force to work, or a better way to make this work in general?