contact card and custom directives