Flatlander Gems Tutorial using custom directive