feat(dynamicTemplate.js) added an example for dynamic templates

Signed-off-by: Josh Kurz <josh.kurz@turner.com>