I am trying to get back a JSON response from my API server that my AngularJS controller is calling.
The controller looks like :
.controller('podcastPlayIndividual', function($scope, $routeParams, $http, $sce){
$http.get('http://SRHRadio.com/podcasts/9').success(function(data)
{
$scope.items=data
});
});
But in the developer tab i am getting the error :
`Error: Maximum call stack size exceeded <error>`
The API server is only sending back a JSON that looks like :
{"id":9,
"title":"first test podcast",
"metadata":"test metadata for first audio",
"length":13.25,
"dateofbroadcast":"2015-05-11T11:05:52+01:00",
"resourceURI":"http://127.0.0.1:80/Media/",
"podcastfile":"sumith.mp3","categories":"sports"}
So i am confused as to where is a an infinite loop with the JSON response.