so this isn't just for the autocomplete but for any component that uses templates. I have a template that I'd like to change the markup for dynamically. So i'd like to be able to call a function and have it return html markup. I've tried already and it is of course treating the returned value as a string. This would be similar in jQuery to using .html()