Preliminary version of AngularFire definition