turned chat-display into a directive