Unexpected character appears in apps


#1

I saw ‘wa’ above the navigation bar of the apps. I find in the html file but seems can’t find any ‘wa’ words inside.
How should I debug it?


#2

Not sure exactly. Right click on the text and use ‘Inspect Element’. That should give you an idea of where in the HTML it is. It may not be in the top, since, remember, your HTML templates are processed by Angular before they go to the browser. Angular does a whole lot of weird stuff with the HTML. So, anyway, once you find where it is, find it in your templates. Find the element/directive it is located it. Look at its controller. Have you typed ‘wa’ somewhere by mistake there? Is it being binded to the template or something like that? Find it.


#3

Check your index.html file.


#4

Thanks…you are right, it is in index.html