Created
August 11, 2015 16:26
-
-
Save dustinmyers/629374ade2d618fa8842 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////// FIREBASE OBJECTS /////////// | |
var ref = new Firebase(URL); | |
var obj = $firebaseObj(ref); | |
console.log("obj: ", obj); | |
console.log("obj.numbers before $loaded: ", obj.numbers); | |
obj.$loaded().then(function() { | |
console.log("obj.numbers after $loaded: ", object.numbers); | |
$scope.numbers = obj.numbers; | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment