What if I don't want to directly assign my collection like this:
$scope.items = angularFireCollection(ref);
Because I need to access the object in a callback once it's received:
angularFireCollection(ref, function(items) {
angular.forEach(items, function(item){
angular.forEach(item.tags, function(tag){
$scope.allTags.push(tag);
});
});
$scope.items = items;
});
Does a callback method exist for the angularFireCollection service?