updated examples to show template html as well