How to dynamically invoke an Embedded Template?

@LostKobrakai has already done this in his blog and has open sourced the approach.