In a large bowl, combine the chopped artichoke hearts, thawed spinach, sour cream, cream cheese, grated Parmesan cheese, chicken broth, minced garlic, onion powder, and red pepper flakes (if using). Mix until all the ingredients are well incorporated.