I have a trusted html file with data-bindings, which I want to include to a web component.I tried multiple ways to include the html file, but the data-binding doesn't work. I know polymer won't stamp the html, because it becomes a vulnerability for XSS attacks from untrusted sources, but I have a trusted source.
I'm already aware of 1 and 2 and tried out juicy-html, iron-ajax
with inner-h-t-m-l
and also the injectBoundHTML function.
Is there other way than binding everything by myself?
The file I want to include contains input fields and it is a predefined form.