Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IE favicon disappeared when navigating other page in angular application

I found an issue with angular application. I have a the location provider setup to use the html5Mode true:

$locationProvider.html5Mode(true);

I noticed that the favicon is disappearing when navigating between pages. I'm using IE11 edge document mode.

Does anyone bumped into this too?

Thanks

like image 559
Erab BO Avatar asked Apr 10 '14 08:04

Erab BO


1 Answers

Thought it might be worth adding my findings here...

At first I had the exact same problem, I couldn't get the favicon to stay on the page when changing from the root home page. I tried Shaun's answer and that didn't work either so I looked online a bit more and found that in all modern browsers you are able to use PNGs as your default favicon so I tried that and it worked for me in latest Chrome, latest Firefox and IE11 via localhost and then in Edge once I published to my webserver.

I hope this helps anyone else out that was having the same issue.

like image 92
ChronixPsyc Avatar answered Sep 23 '22 13:09

ChronixPsyc