Last active
March 14, 2017 15:19
-
-
Save brakmic/0fbc3b19065a25aff4075110d62d0092 to your computer and use it in GitHub Desktop.
state management
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
/** | |
* Initialize subscriptions and get app state via @ngrx (Redux implementation for Angular2) | |
*/ | |
public ngOnInit() { | |
[....snip...] | |
this.availableModules = <Observable<IVrModule[]>> this.store.select('vrModule'); | |
[....snip...] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment