I am developing a web application that has both Angular components and plain JavaScript code. Angular can call plain JavaScript code all OK, but there is something strange g