Converting the outcome indicator to a directive - want to do more html templating in here