Errors with undefined firebase url



I am using firebase as the back end to create an app that will allow users to chat with others in different rooms. It was working fine then I included a profile section so the user can add personal information. There is a scanner section where the user can scan food products and it will indicate whether it has allergen content that the user has specified.

it was working fine and now its coming back with the following errors.

ReferenceError: FirebaseUrl is not defined
at Object. (http://localhost:8100/js/services-chat.js:72:24)
at Object.e [as invoke] (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:73:156)
at Object.$get (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:71:98)
at Object.e [as invoke] (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:73:156)
at http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:74:478
at d (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:72:364)
at e (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:73:124)
at Object.instantiate (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:73:273)
at http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:114:228
at I.appendViewElement (http://localhost:8100/lib/ionic/js/ionic.bundle.min.js:447:4463)

please can someone help me

I can send over the code that I have if this would be helpful