Adds websocket service

Adds RXJS for websocket use
This commit is contained in:
GloriousCode
2017-08-28 17:40:59 +10:00
parent d1753b85b0
commit af2d8cf157
5 changed files with 65 additions and 8 deletions

View File

@@ -14,16 +14,20 @@ import { HomeComponent } from './pages/home/home.component';
import { AboutComponent } from './pages/about/about.component';
import { AppRoutingModule } from './app-routing.module';
import { WebsocketService } from './services/websocket/websocket.service';
import { ElectronService } from './providers/electron.service';
import { NavbarComponent } from './shared/navbar/navbar.component';
import * as Rx from 'rxjs/Rx';
import {Injectable} from '@angular/core';
@NgModule({
declarations: [
AppComponent,
HomeComponent,
AboutComponent,
NavbarComponent
NavbarComponent,
WebsocketService
],
imports: [
BrowserModule,