Hmm, so the Popover HTML is generated by another view (it's in the DOM next to the element you click) but the Popover View is stapled on? Why not make the Popover view render the Popover HTML? Then, you'd have Popover subclasses (like you do now) that each know how to render themselves instead of relying on some other template.... Maybe I'm misunderstanding (trying to run the code in my head)?