Heat the ghee or oil in a heavy-bottomed pan over moderate heat.
Add the ginger, chilies, cumin seeds, and black mustard seeds.
Fry until the mustard seeds turn gray and pop.
Immediately add the asafetida and curry leaves, followed seconds later by the chopped tomatoes.
Fry for 2-3 minutes until the ghee separates from the tomato purée.
Add the potatoes, turmeric, ground coriander, and water.
Bring the mixture to a boil.
Reduce the heat to moderately low, cover, and cook for 15 minutes.
Add the peas, salt, and half of the fresh coriander.
Continue cooking, partially covered, until the potatoes are tender. If using frozen peas, add them only in the last 2-3 minutes.
Garnish with the remaining fresh coriander and serve immediately.