Heat a pan on medium flame and stir fry coriander seeds, cinnamon stick cardamom pods and cloves till you get nice aroma. Blend them in a blender to a fine powder and keep aside.
Heat oil in the same pan, add chopped onions and green chillies. Fry till brown.
Add ginger garlic paste and sauté for a minute.
Add grated coconut, red chilli powder, turmeric, salt and mix well.
Add half cup of water and cover with a lid. Cook till the water evaporates.
Add the spices powder and mix well.
Remove from the heat and transfer to a serving bowl.
Serve with hot rice or Indian bread.