Preheat the oven at 175 degrees Celsius.
Start making the cake by melting the margarine in a casserole. Turn off the heat. Pour half of the chocolate in the casserole. Stir until the chocolate is melted.
Add the sugar, syrup, and flour. While stirring add the eggs one by one.
Butter a baking form with removable edges. Sprinkle the grated coconut flakes in the form.
Pour the batter in the baking form. Add the rest of the chocolate on the batter.
Place in the middle of the oven for 20 minutes.
Take out the cake and let it cool down.
Time to make the frosting by using an electrical mixer to make the margarine soft. Add the cream cheese and dulce de leche and mix well together. Place evenly on the cake.
Sprinkle the dulce the leche on the frosting.
Place the cake cold until it is time to serve it.