FirebaseExtended / angularfire

AngularJS bindings for Firebase
MIT License
2.73k stars 632 forks source link

Two configuration #929

Closed luckyboy07 closed 7 years ago

luckyboy07 commented 7 years ago
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?

davideast commented 7 years ago

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