Chat Application Component - Copy this Angular, Css Component to your project
Design and develop a chat application with the following features, without requiring user login or registration: Random Chat Functionality: Users can initiate a chat with a random person globally. Include a "Reload" button to connect with a new random user. Chat with Known Users: Users can start a conversation with a known user by entering a unique user ID. Provide an input field for entering the user ID to connect. User Interface: A simple and intuitive interface with: A chat window for displaying messages. An input field for sending messages. A "Reload" button for starting a new chat with a different random user. An input field for entering a user ID to connect with a known user. Backend Requirements: Implement real time messaging to ensure instant communication. Manage chat sessions and connections without user authentication. Additional Features: Option to view chat history during the session. Basic notifications for new incoming messages.
