I\'ve got this code:
factory
app.factory(\'Items\', function($firebase,FIREBASE_URL) {
var ref = new Firebase(FIREBASE_URL);
This is because by the time your console.log($scope.item.url);
runs, the data hasn't been loaded from Firebase yet. Angular listens for a notification from Firebase/AngularFire to know when the data has loaded and then updates the view.
Also see angularfire - why can't I loop over array returned by $asArray? and Trying to get child records from Firebase.