added in $scope.$apply to update angular scope on firebase callback