FirebaseExtended / angularfire

AngularJS bindings for Firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Two configuration

luckyboy07 opened this issue · comments

var config = {
   apiKey: '<your-api-key>',
   authDomain: '<your-auth-domain>',
   databaseURL: '<your-database-url>',
   storageBucket: '<your-storage-bucket>'
 };
var config2  = {
apiKey: '<your-api-key-2>',
   authDomain: '<your-auth-domain-2>',
   databaseURL: '<your-database-url-2>',
   storageBucket: '<your-storage-bucket-2>'
}

is it possible to have two initialization of firebase?

@luckyboy07 No, but you can create another app, and then create a database reference and pass it into an AngularFire instance.