adding firebase service, controller, and script tag