Sharing functionality directive