I am using AngularJS and FireBase in my application. I attached the object to synchronization with FireBase:
$scope.winnerPromise = angularFire(travelBidsFirebaseRef + "/user/" + $scope.auction.winnerUserId, $scope, 'winner', {});
Now I want to disable $ scope.winner, that is, I want it to remain safe in the FireBase database, but I do not want my winner variable to be synchronized with it anymore. How should I do it? I saw disassociate () finence in angularfire.js, but I don't see how I can use it. Any ideas?
source share