My problem is simple, every time I try to pass a string with special characters, through a $http.get() query, some special characters are removed.
In my case, a simple email: [email protected], become emmawatson.com in the query header.
Is Angular doing some sort of validation before sending AJAX query ?
Here is my Ajax code:
$http.get(apiUrl,
{
params: {
username: "Emma",
email: "[email protected]",
password: "1234"
}
})
.success(function(data) {
//do a simple return of the email on the server
console.log(data);//"emmawatson.com"
});