demonstrates another way to quickly create element directives