AngularJS Directive photo gallery