attemps at implementing angularfire