From 00a446454d4721fc49517815655f6b4f8a17b554 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Jun 2016 17:43:40 +0200 Subject: Add tags support to the video list --- client/src/app/shared/search/search.service.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 client/src/app/shared/search/search.service.ts (limited to 'client/src/app/shared/search/search.service.ts') diff --git a/client/src/app/shared/search/search.service.ts b/client/src/app/shared/search/search.service.ts new file mode 100644 index 000000000..787c02d2b --- /dev/null +++ b/client/src/app/shared/search/search.service.ts @@ -0,0 +1,15 @@ +import { Injectable } from '@angular/core'; +import { Subject } from 'rxjs/Subject'; + +import { Search } from './search.model'; + +// This class is needed to communicate between videos/list and search component +// Remove it when we'll be able to subscribe to router changes +@Injectable() +export class SearchService { + searchChanged: Subject; + + constructor() { + this.searchChanged = new Subject(); + } +} -- cgit v1.2.3