Skip to content

Instantly share code, notes, and snippets.

@Seanmclem
Created May 29, 2018 00:09
Show Gist options
  • Save Seanmclem/3689d63581a31b7170c45d72cc0c6d26 to your computer and use it in GitHub Desktop.
Save Seanmclem/3689d63581a31b7170c45d72cc0c6d26 to your computer and use it in GitHub Desktop.
some nonsense
ngOnInit() {
this.firebaseService.readRecord('blog', this.cuid)
.then(result => {
this.model = result.data();
this.recordRef = result;
debugger;
this.loadData(this.model.body);
})
.catch(error => {
debugger;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment