i just started with Angular and tried to something (i thought) would be realy simple and a good start: Changing the icon for the tab.
What i assumed was that Angular would just need to know where the icon is and where to put it. So i followed this: How to change Angular CLI favicon
Simply replacing "favicon.ico" with the selfmade "favicon2.ico"
This lead to the result that nothing at all is shown. So, i tried a few things like making it smaler (32x32), different colour etc... still nothing does show up. I also had to learn that Angular seems to use code randomly (sometimes new code, sometimes old, i dont even know where the programm gets the old code from since i deleted everything and restarted everything including the compiler).
However, i then tried a simpler approach: I just changed "favicon.ico" itself and undid everything i did before. This is where it got really weird: It now uses the old icon (which should not even exist anymore) and inspecting the page does show really old code that has nothing to do with what is shown (telling me its using favicon2.ico). Visual Studio does confirm that "favicon.ico" has been changed.
My conclusion is that the "favicon.ico" in the src folder has no real purpose and the actual icon does come from somewhere else?
An other thing for me would be to at least somehow make sure that Angular does use the current code and never jumps back to code that should not even exist anymore. This is frustrating me the most.
I would show my code but it really is just the demo page and i changed the "favicon.ico".
Thank you very much for your help.