Hi i have been trying to use foreach on the returned response which not seems to be working. Can anybody tell me what am doing wrong, I have also tried with promises but not seems to be working.
$scope.signuser=Login.query({email:$scope.user.signemail});
Response in console:
[$promise: d, $resolved: false]
0: e
$promise: d$$state: Objectpending: undefinedprocessScheduled: falsestatus: value: Array[1]
I have tried using $scope.signuser[0]
which seems to be not working as well as foreach.Also tried with $Promises. What am doing wrong? I need to access the 0th element of the variable. Any help would be appreciated Thanks in advance.