You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
CloudDueling.com edited this page Sep 7, 2013
·
1 revision
#####Uncaught Error: Firebase.set failed: First argument contains undefined
In this case the error is due to the $scope variable not being defined before the reference was created.
$scope.fire = {
product: {}, // This will fix it.
refs: {
product: new Firebase($scope.firebaseUrl + "/products/" + $scope.productId),
}
};
angularFire($scope.fire.refs.product, $scope, "fire.product");