$http
.get('/getFollowings/' + currentUser)
.success(function(response) {
$scope.friendlist = response;
});
I want to get the data which in response.but i cannot handle those values individually. 'response' contain :
[{"_id":"597c9fabc1ada32277f1da34","following":[{"username":"him"},{"username":"ron"},{"username":"nadu"}]}]
I want to get this usernames
.