Heat oil in a pan at medium heat. Add mustard seeds, cumin seeds, chana daal and urad daal in to hot oil. Wait till it crackle. Add chopped chili and curry leaves. Saute it for few more seconds. Add ginger, hing and saute it till ginger gets golden in color. Add onion and little salt. Sauté till onion gets translucent.