use angularFire instead