# Fetching HTML and Enhance from within a Controller? v2

**URL:** <https://discourse.aurelia.io/t/fetching-html-and-enhance-from-within-a-controller-v2/4900>\
**Category:** Help Requests\
**Created:** [September 4, 2022, 3:29pm UTC](https://discourse.aurelia.io/t/fetching-html-and-enhance-from-within-a-controller-v2/4900 "2022-09-04T15:29:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aGustafson](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@aGustafson](https://discourse.aurelia.io/u/aGustafson)\
**Post date:** [September 4, 2022, 3:29pm UTC](https://discourse.aurelia.io/t/fetching-html-and-enhance-from-within-a-controller-v2/4900/1 "2022-09-04T15:29:48Z")

</div>

Hi,

I have a custom router that is getting HTML partials from a server. These partials have aurelia components in them and I would like to “activate” them after attaching the partials to the  
current DOM.

I was looking at the Synthetic View tutorial in the Docs, but maybe there is an easier way using the enhance api. I am not sure though how to get the current instance of Aurelia and add the new Dom bits.

---

<div class="post-metadata">

**Author:** ![aGustafson](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@aGustafson](https://discourse.aurelia.io/u/aGustafson)\
**Post date:** [September 6, 2022, 9:29am UTC](https://discourse.aurelia.io/t/fetching-html-and-enhance-from-within-a-controller-v2/4900/2 "2022-09-06T09:29:59Z")

</div>

Hmm, no tips?

In this post there is mention of the templatingEngine.

> [@Dynamic user driven display](https://discourse.aurelia.io/t/dynamic-user-driven-display/4879):
>
> Hello, I’m wondering if there is a way that I can build a html editor, and allow the user to reference dynamic values using the aurelia string interpolation syntax. For example, a textarea that looks like this: [image] This would output the following html: \<p\>Initial Content!\</p\> \<p\>${row.some\_fieldname}\</p\> Then we could pass this html to aurelia with a scope value for row to get the html rendered correctly. Is this possible? Also is it safe? Just looking for options at this point, maybe …

But that is a V1 feature. Is there a templatingEngine for V2 ?
