Photo gallery based on AngularJS