Adds inline template whilst I understand why a templateURL doesn't work