<!DOCTYPE html>
<html ng-app="album">
<head>
  <script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.20/angular.js"></script>
  <script src="album.js"></script>
  <style type="text/css">
  .grid {
    float: left;
    max-width: 275px;
    height: 310px;
    max-height: 310px;
  }
  </style>
</head>
<body ng-controller="AlbumController as album">
  <h1>{{ album.roots[0] }}</h1>
  <div ng-repeat="item in album.items" class="grid">
    <img ng-src="/photo/album{{ item.path }}?size=250"/>
  </div>
</body>
</html>