In a large frying pan over medium heat add the olive oil and onions. Cook until the onions are soft and translucent, about 5 minutes. Add in the garlic and continue cooking for 1 additional minute. Add the spinach, cumin, coriander and cayenne pepper to the pan and heat through. Remove pan from heat and set aside.