angularjs check if object is null or empty html code example Example: Angular empty object angular.equals({}, $scope.card)