# Chat

#### Adding Chat page in your project

There following steps to add Chat page

* First of all, you have to edit in **app.module** file ,which is located in **your-project-name\src\app** folder.
* Import following files in **app.module** file

  ```
  import { ChatComponent}  from './chat/chat.component';
  ```
* &#x20;Now open **app-routing.module.ts** file and import this file.

  ```
  import { ChatComponent }  from './chat/chat.component';
  ```

  After this,add following in routes

  ```
   { path: 'chat', component: ChatComponent }
  ```
