Commit 381fde4a authored by rksheela's avatar rksheela

Changing database

parent 27defd40
node_modules/
\ No newline at end of file
......@@ -13,7 +13,7 @@ app.controller('userForm', ['$scope','$firebaseArray',function ($scope, $firebas
};
firebase.initializeApp(config);
var ref = firebase.database().ref().child('students');
var ref = firebase.database().ref().child('intern_students');
$scope.users = $firebaseArray(ref);
$scope.cources = [
......@@ -59,7 +59,7 @@ viewStudents.controller('listRegUsers', ['$scope', '$firebaseArray', function ($
};
firebase.initializeApp(config);
var ref = firebase.database().ref().child('students');
var ref = firebase.database().ref().child('intern_students');
$scope.users = $firebaseArray(ref);
console.log($scope.users);
}]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment