redoc/lib/services/app-state.service.ts

12 lines
288 B
TypeScript
Raw Normal View History

2016-10-23 20:18:42 +03:00
'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);
}