Grails photo admin with angular.js