In my Angular 7 project, in src folder, I have site.js file where I keep some javascript functions.
This file is referenced in angular.json (under scripts section) and all seems ok. Inside index.html, I see that all functions from site.js are available.
How do I run any of the functions from angular component? It seems that my site.js is ignored by component.
Thanks