key value pair how to check empty or not in angular js code example Example: Angular empty object angular.equals({}, $scope.card)