Fix AngularFire 0.5.0.