Sync an object with Firebase in Angular, and filter the object