Angular - Firebase - PhoneGap