When the syrup reaches your desired consistency, allow it to cool slightly, then drizzle some over the cake as above. (laurasmess.me)
If using a piping or sandwich bag, with scissors cut a small piece off the tip of the bag and then drizzle over the cake as you wish. (myeclectickitchen.com)