Use data-ng-click instead of ng-click for HTML validity.
Define the titleProperty as "name" for the image gallery to display the file name as title.