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