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