Yes it is possible. The bleeding edge way to do this is with
Web Components. Instead of
embedding HTML you will
import your HTML using the
HTML Imports feature of
Web Components. For browsers that don't support web components (
http://caniuse.com/#search=web%20components) you use the polyfill
webcomponents.js (formerly named
platform.js). Check out the
Component Kitchen: Component Kitchenhttp://component.kitchen/components I used to be the
President of the
image onload sector but I resigned that last year and I am now the
President of the
import onload sector. It is true - check my profile and contact me if you need help.