How to use the angularfire2.FIREBASE_PROVIDERS function in angularfire2

To help you get started, we’ve selected a few angularfire2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github panacloud / learn-angular / step57_firebase_list_crud / app / main.js View on Github external
"use strict";
var platform_browser_dynamic_1 = require('@angular/platform-browser-dynamic');
var app_component_1 = require('./app.component');
var angularfire2_1 = require('angularfire2');
platform_browser_dynamic_1.bootstrap(app_component_1.AppComponent, [
    angularfire2_1.FIREBASE_PROVIDERS,
    // Initialize Firebase app  
    angularfire2_1.defaultFirebase({
        apiKey: "",
        authDomain: "",
        databaseURL: "",
        storageBucket: "",
    })
]);
//# sourceMappingURL=main.js.map
github JacekKosciesza / InvestSystemsOrg / client / app / main.js View on Github external
var auth_guard_1 = require('./auth.guard');
var forms_1 = require('@angular/forms');
var angularfire2_1 = require('angularfire2');
// The usual bootstrapping imports
var platform_browser_dynamic_1 = require('@angular/platform-browser-dynamic');
var platform_browser_1 = require('@angular/platform-browser');
var app_component_1 = require('./app.component');
var app_routes_1 = require('./app.routes');
var charts_service_1 = require('./charts/charts.service');
var spinner_service_1 = require('./shared/spinner/spinner.service');
var log_service_1 = require('./shared/log/log.service');
var index_1 = require('./shared/config/index'); // TODO: check why barrel does not work?
platform_browser_dynamic_1.bootstrap(app_component_1.AppComponent, [
    app_routes_1.APP_ROUTER_PROVIDER,
    http_1.HTTP_PROVIDERS,
    angularfire2_1.FIREBASE_PROVIDERS,
    // Initialize Firebase app  
    angularfire2_1.defaultFirebase({
        apiKey: "AIzaSyBxTIFIwi_rWHM3oeAtXSEi1nrEUvvlqu8",
        authDomain: "investsystemsorg.firebaseapp.com",
        databaseURL: "https://investsystemsorg.firebaseio.com",
        storageBucket: "investsystemsorg.appspot.com",
    }),
    angularfire2_1.firebaseAuthConfig({
        provider: angularfire2_1.AuthProviders.Google,
        method: angularfire2_1.AuthMethods.Redirect
    }),
    // { provide: XHRBackend, useClass: InMemoryBackendService }, // in-mem server
    // { provide: SEED_DATA, useClass: InMemoryDataService },      // in-mem server data
    platform_browser_1.Title,
    auth_guard_1.AuthGuard,
    icon_registry_1.MdIconRegistry,
github panacloud / learn-angular / step56_firebase / app / main.js View on Github external
"use strict";
var platform_browser_dynamic_1 = require('@angular/platform-browser-dynamic');
var app_component_1 = require('./app.component');
var angularfire2_1 = require('angularfire2');
platform_browser_dynamic_1.bootstrap(app_component_1.AppComponent, [
    angularfire2_1.FIREBASE_PROVIDERS,
    // Initialize Firebase app  
    angularfire2_1.defaultFirebase({
        apiKey: "",
        authDomain: "",
        databaseURL: "",
        storageBucket: ""
    })
]);
//# sourceMappingURL=main.js.map
github panacloud / learn-angular / step58_firebase_object / app / main.js View on Github external
"use strict";
var platform_browser_dynamic_1 = require('@angular/platform-browser-dynamic');
var app_component_1 = require('./app.component');
var angularfire2_1 = require('angularfire2');
platform_browser_dynamic_1.bootstrap(app_component_1.AppComponent, [
    angularfire2_1.FIREBASE_PROVIDERS,
    // Initialize Firebase app  
    angularfire2_1.defaultFirebase({
        apiKey: "",
        authDomain: "",
        databaseURL: "",
        storageBucket: "",
    })
]);
//# sourceMappingURL=main.js.map