plzz any one help me to insert and reterive the data into the firebase database
Hi,
Here you are an example:
$scope.data = {
'message': ''
}
var ref = firebase.database().ref().child("messages");
$scope.messages = $firebaseArray(ref);
$scope.addMessage = function() {
$scope.messages.$add({
text: $scope.data.message
});
$scope.data.message = '';
};
is it posible to insert and reterive the phone contacts name and number into our firebase database
thank you for reply
I didn’t try contact plugin, but i think you can do that.
Code for that will be the same with some corrections.