Here is the AngularJS code I am using:
$scope.getEventSeconds = function(){
$http.get('myfile.php', {
params: {
'action': 'get_datas'
}
}).success(function(data){
$scope.list = data;
$scope.currentPage = 1; //current page
$scope.entryLimit = 10; //max no of items to display in a page
$scope.filteredItems = $scope.list.length; //Initially for no filter
$scope.totalItems = $scope.list.length;
});
}
The code is working fine and returning all data, but it seems to convert "&" to "&" in URLs.
http://example.com?id=1&name=myname
this URL is stored in the database.
It converts the URL to:
http://example.com?id=1&name=myname
when displaying it.