I have a seemingly simple problem but it has given me some work here.
I'm developing a single page application using AngularJS , on page index.html
I have tag <meta charset="UTF-8"/>
, and like all partials are injected inside this page, the encoding is replicated to them, except for 1 file, otherwise I am not able to replicate the encoding to JavaScript >, alerts and messages registered in console.log
are not receiving the encoding.
Does anyone know what could be happening?
Follow html code:
<html ng-app="WebApp">
<head>
<meta charset="UTF-8" />
<title></title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
"... demais arquivos css"
</head>
<body ng-controller="mainController">
<!-- Bibliotecas externas-->
<!-- Config -->
<!-- Services -->
<!-- Controllers -->
<!-- template do header -->
<div ng-include="'partials/header.html'"></div>
<!-- Templates do Angular controlados pelas rotas-->
<div ng-view></div>
<!-- template do footer -->
<div ng-include="'partials/footer.html'"></div>
</body>
</html>