-
-
Save ashikjs/31a1c8f536ac369249c9492dc4e6ecdd to your computer and use it in GitHub Desktop.
remove unused code or line
This file contains 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/BehaviorSubject'; | |
@Injectable() | |
export class MovieStore { | |
public movieStore$: BehaviorSubject<any>; | |
public movieStates = [{ | |
name: 'Movie 1', | |
url: 'http://google.com' | |
}]; | |
constructor() { | |
this.movieStore$ = new BehaviorSubject(this.movieStates); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment