fixed error (first photo wasn't set to $scope.photo var);