From the pic you can see, that there is no "results"
property(you use it in .forEach
) of the data
array. Try to change your code to below one:
angular.forEach(userData.data, function(item){
// ^-------- '.results' is removed