Gallery Application using AngularJS