angular.module("app").service("media",["modal",function(e){this.select=function(i,n){e.show("MediaGalleryModal",(function(e){e&&"function"==typeof i&&i(e)}),{initial:n||!1,selectable:"function"==typeof i})}}]);