Hello I am trying to query my Mongoose DB for items using $scope.inventory = Item.query();
which works. Problem is I need to separate them based on a values on the front end of my app.
console.log($scope.inventory);
returns [$promise: Promise, $resolved: false]
which from the console I can drill into and find the values but I cant find a way of accessing them in my code.