text: ﻿app.controller('PhotoController',
      ['$scope', 'photos', '$routeParams', function ($scope, photos, $routeParams) {
          photos.success(function (data) {
          $scope.detail = data[$routeParams.id];
          });
      }]
  );
  