Pressure cook moong dal along with some salt until tender, about 3~4 whistles or cook them in boiling water for 15~18 minutes.
While the dal is cooking, make the masala powder. Heat 1tsp oil in a pan and the ingredients for masala and cook till golden. Let the mixture cool for a little bit, then grind it to a powder.
Once the beans are done, drain any remaining water and keep ready.
Heat 2tsp oil in a pan, add mustard seeds and urad dal. Once the seeds start to splutter, add green chilies and curry leaves. Cook for a minute before adding the cooked mung beans. Stir in grated coconut. Serve warm or at room temperature.