Prep the onions: Get out a large bowl and add the sliced onions, cilantro, ginger and spices to it. Mix all of these ingredients together and let them sit for 15 minutes.
Coat the onions in batter: Add the chickpea flour to the bowl and mix until it coats all of the onions. Then add 2 tablespoons of water and mix it in until a batter forms around all of the onions. Let this sit for another 10 minutes.
While those are sitting get out a large walled pot and fill it with enough oil so that it comes up 1 ½ to 2 inches. Place this pot over medium-high heat.
Fry the pakoras: Check to see if your oil is hot enough by placing one slice of onion into the oil. If the onion comes to the top and is bubbling then the oil is ready. Then use either a spoon or your hands to drop roughly tablespoon-sized amounts into the oil. Make sure to not overcrowd the pot so it is best to do this in batches. Let the pakoras fry for two to three minutes or until they become nice and golden brown. Transfer the cooked pakoras to a paper towel-lined plate, and continue until all of the pakoras are cooked.
Enjoy your onion pakoras immediately and enjoy!