I have a ionic page where I initialize an angularfire2 collection with a filter, then I subscribe to snapshotChanges. What I want is to know if my collection initialization ¡, with a filter, does not return anynithing, to show a message and allow new search, filter, on the same collection.
Here is my code. Its a resume because i have some functionality encapsulated in a generic repo.
The case is, i know when data is received via observable, and i can operate with it, but I wanna know when the query does not return any data.