data angularfire code example
Example 1: angular firebase
ng add @angular/fire
Example 2: angular firebase
import { AngularFirestore } from '@angular/fire/firestore';
@Component(...)
export class SomeComponent {
constructor(private db: AngularFirestore) {
const things = db.collection('things').valueChanges();
things.subscribe(console.log);
}
}