How do I replace the following charachters "'" returned from $http data with " ' " ?
this is my code:
$scope.searchInput = "";
$scope.getResults = function(){
$http.get('http://myapi'+ $scope.searchInput).
success(function(data){
$scope.myResults = data;
});
};
$scope.getResults();
This is what the Json Object title looks like:
title: "'Mad Max' Review: 5 Reasons Why 'Road Warrior' Is Better Than ..."