Created
December 6, 2019 16:32
-
-
Save reed-lawrence/6939bf168e108a898e9e1d58c5b37990 to your computer and use it in GitHub Desktop.
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
constructor(private state: AppStateService) { | |
this.state.onUserChanges.subscribe( | |
user => { console.log('New Email: ' + user.email); } | |
); | |
this.state.user = new User({ email: 'test@test.net' }); | |
// console: New Email: test@test.net; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment