Conversion of MVP into AngularFire App