Initialize firebase


#1

// Initialize Firebase
var config = {
apiKey: “AIzaSyAJpSXA4kF9AyNmbOasiTO2IW3nLNi4Y-k”,
authDomain: “testing-todo-a9be3.firebaseapp.com”,
databaseURL: “https://testing-todo-a9be3.firebaseio.com”,
projectId: “testing-todo-a9be3”,
storageBucket: “testing-todo-a9be3.appspot.com”,
messagingSenderId: “579773548921”
};
firebase.initializeApp(config);

once i put the code in my platform,my pages goes blank


#2

I suggest using AngularFire2.