I have two component. 1 notification
and another is chat
. Whenever there is new notification, I need to update icon as well.
I read that only title class will let you change title, which is outside application.
I wanted to know if someone knows how to change favicon in angular2
without using jQuery
or other third party libraries.
[Note] The reason I don't want to use third party library is, that we are upgrading our application from angular1
to angular2
and we already have libraries which is 2mb after compiling and optimizing, before optimization it is 8mb (ya, very bad!), anyway we can't afford to add another third party library.