Replaced AngularFire script with updated version