import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
+import { FormsModule } from "@angular/forms";
+import { HttpClientModule } from '@angular/common/http';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
+import { ChatroomsComponent } from './chatrooms/chatrooms.component';
@NgModule({
declarations: [
- AppComponent
+ AppComponent,
+ ChatroomsComponent
],
imports: [
BrowserModule,
+ FormsModule,
+ HttpClientModule,
AppRoutingModule
],
providers: [],