Created
December 15, 2018 14:25
-
-
Save astr0sl0th/c5a4330035561cd657a826c722f6cffe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Injectable } from '@angular/core'; | |
| import { BehaviorSubject } from 'rxjs'; | |
| @Injectable({ | |
| providedIn: 'root' | |
| }) | |
| export class ModalService { | |
| // Set inital state of modal to none | |
| toggalModal: BehaviorSubject<string> = new BehaviorSubject('none'); | |
| constructor() {} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment