Header value is not being replaced properly

var config = {headers: {
‘referer’: ‘http://URL/
}
};

$scope.events= [];
$http.get(‘http://URL/events/’, config).success(function(data) {
console.log(“success!”);
$scope.events = data;
console.log(data[0]);
});
})

The header value is not being replaced properly. If I load in manual headers into chrome it works fine but the script itself seems to not be able to spoof the header.

any suggestions of changes to my script?