<script data-jsd-embedded data-base-url="" data-key="" type="text/javascript" src="js-text-sample.js"></script>
This is a sample script tag located in index.html.
I am looking to conceal it within an Angular component.
The Angular component will initially retrieve a configuration from the API. It will then determine whether or not to conceal the script based on this configuration.
The script functions as an embedded widget that should be hidden if the corresponding value is false in the configuration retrieved from the API.
Is there a way to hide it directly from the component code?