Illustrates how to use dynamic templates via a directive.