Skip to content

Instantly share code, notes, and snippets.

@Ibro
Created May 4, 2017 19:08
Show Gist options
  • Save Ibro/f842beab3833fe3c16ae3df08ce6f83c to your computer and use it in GitHub Desktop.
Save Ibro/f842beab3833fe3c16ae3df08ce6f83c to your computer and use it in GitHub Desktop.
RxJS Socket.IO Angular Chat - Angular Module- Coding Blast - www.codingblast.com
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component';
import { ChatService } from 'chat.service';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule
],
providers: [ChatService],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment