DayOne app implementation with Angular + Firebase