I've been utilizing the Angular 1 component router and encountering some strange issues. Everything works perfectly when I run the website locally, but as soon as I try to access it from another PC, I'm hit with a JavaScript error.
It keeps throwing an error saying 'Cannot read property 'startsWith' of undefined'
I've attempted to access the website from multiple PCs using various browsers such as IE, Chrome, and Safari. The results vary - sometimes it works fine, while other times it displays the JavaScript error mentioned above.
If anyone has any advice or suggestions, please let me know!