ngOnInit() { this.myEventList = this.firestore .collection('eventList') .valueChanges({ idField: 'eventId' }); }