Added attribute to allow custom templates to be passesd in via the component call