console.log $scope.photos