firebase before angularfire