export function initialize(container, application) {
  application.inject('route', 'fireBaseService', 'service:fire-base');
  application.inject('controller', 'fireBaseService', 'service:fire-base');
  application.inject('view', 'fireBaseService', 'service:fire-base');
};

export default {
  name: 'fire-base-service',
  initialize: initialize
};

@@ -46,16 +46,193 @@
 tion) %7B%0A
+  var firebase = new Firebase('https://' + ENV.firebase_instance + '.firebaseio.com');%0A  application.register('firebase:main', firebase, %7Binstantiate: false, singleton: true%7D);%0A
   applic
@@ -249,21 +249,23 @@
 ct('
-rou
+adap
 te
+r
 ', 'fire
 Base
@@ -264,40 +264,89 @@
 fire
-BaseService', 'service:
+base', 'firebase:main');%0A  application.inject('route', 'firebase', '
 fire
--
 base
+:main
 ');%0A
@@ -389,40 +389,29 @@
 fire
-BaseService', 'service:
+base', '
 fire
--
 base
+:main
 ');%0A
@@ -448,40 +448,29 @@
 fire
-BaseService', 'service:
+base', '
 fire
--
 base
+:main
 ');%0A
@@ -513,13 +513,14 @@
 ase-
-servi
+instan
 ce',

Update fire-base-service.js