redoc/lib/services/app-state.service.ts
2016-10-23 20:18:42 +03:00

12 lines
288 B
TypeScript

'use strict';
import { Injectable } from '@angular/core';
import { Subject } from 'rxjs/Subject';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
@Injectable()
export class AppStateService {
samplesLanguage = new Subject<string>();
error = new BehaviorSubject<any>(null);
}