Unfortunately, you can not use Angular in this way. Angular processes the web page only after the page has been loaded and built by which time the <script>
tag has been processed its one time (script tags are only ever run once). Other tags such as img
will change the visual appearance of the screen when their properties change after the page has loaded ... but as mentioned, the script is only processed once and even then during page load and before Angular can ever get control.