]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/search/search.service.ts
Client: Update to Angular RC4
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / search / search.service.ts
1 import { Injectable } from '@angular/core';
2 import { Subject } from 'rxjs/Subject';
3
4 import { Search } from './search.model';
5
6 // This class is needed to communicate between videos/ and search component
7 // Remove it when we'll be able to subscribe to router changes
8 @Injectable()
9 export class SearchService {
10 searchChanged: Subject<Search>;
11
12 constructor() {
13 this.searchChanged = new Subject<Search>();
14 }
15 }