Module/Angular approach for rendering
Changes made by Dennis Frey (dennis@pantsdownsoftware.com).