Mix both flours, chili powder, salt, pepper, ginger paste, and water to make the batter, stirring well with a whisk to get a smooth consistency. Then dip baby corn in the batter on all sides until coated.
Heat the 1/12 cup of oil in a frying pan, and when it is hot, add in the battered baby corn and cook for about 4 minutes on each side.
While the baby corn is cooking, chop up the onion, scallions, red pepper, garlic, and fresh ginger.
Transfer the cooked corn to a plate, then heat up the remaining 1 tablespoon of oil and sauté the red pepper, onion, garlic, ginger, and scallions, cooking for about 5 to 8 minutes on medium-high heat.
Mix the tomato sauce, soy sauce, and rice vinegar, then pour the sauce over the cooking vegetables and stir.
Add cooked corn to the frying pan with the vegetables and mix well. Add the red pepper flakes, if using.