angular check empty objecty code example Example: Angular empty object angular.equals({}, $scope.card)