I'm starting in Angular and I'm having a basic question .. When I pass data from one form to another presentation screen, the accented characters are being presented all messed up. Please help me to identify why the script below is not working.
var config = {
headers : {
'Content-Type': 'application/json;charset=iso-8859-1'
}
}
$http.post('views/protected/apresenta_result.php', data, config)
.success(function(data, status, headers, config)
{
sucesso();
})
.error(function(data, status, headers, config)
{
console.log('error');
erro();
});