connect to your list

      
        let listRef = db.list('/markers');
        let list = listRef.snapshotChanges();
      
  

snapshotChanges() returns an Observable of data as a synchronized array