Can any one tell me how to parse this API using Angular
. I want to get all unis
array elements.
$http.get('https://www.coursera.org/maestro/api/topic/list2').success(function(data)
{
console.log("UniCtrl:" + data.unis);
$scope.unis = data.unis;
});
But data.unis
is showing as undefind
.
data
as JSON. – Bibhas Jan 4 '14 at 8:55