daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ngOnInit() {
  2. this.GuiaService.getGuias()
  3.   .snapshotChanges()
  4.   .subscribe(item => {
  5.     this.guiaList = [];
  6.     item.forEach(element => {
  7.       let guia = element.payload.toJSON();
  8.       guia["$key"] = element.key;
  9.       this.guiaList.push(guia as Guia);
  10.  console.log(guia)
  11.  
  12.     });
  13.   });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top