studying angular by writing a chat app