Photo gallery written in Angular JS