upd gist of the custom directive
upd G+ link