Heat oil and add crushed garlic. Sauté for a minute and add onions and cook until soft. Add tomatoes, sugar, salt, pepper and chilli flakes and continue cooking for a few minutes. Switch off heat after 2 minutes. Add chopped fresh basil after reserving a little for garnishing.