Heat oil or ghee according to your choice in same kadai. Add mustard seeds and allow them to sputter. Add chana dal, urad dal and curry leaves, cook until dals become light brown. Add sliced onion, grated ginger and slit green chilies. Sauté until onion becomes translucent.