var modalSelectTemplates=modalSelectTemplates||{};modalSelectTemplates["modal-template-multiple.html"]=' \n \n

{{::ui.modalTitle}} MULTIPLE

\n
\n \n\n
\n
\n

{{::ui.loadListMessage}}

\n

\n \n

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n \n

\n \n
\n
\n';var modalSelectTemplates=modalSelectTemplates||{};modalSelectTemplates["modal-template.html"]=' \n \n \n

{{::ui.modalTitle}}

\n
\n\n
\n \n \n
\n\n \n
\n

{{::ui.loadListMessage}}

\n

\n \n

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n \n \n \n \n\n
\n',function(){angular.module("ionic-modal-select",[]).directive("compile",["$compile",function($compile){return function(scope,iElement,iAttrs){var x=scope.$watch(function(scope){return scope.$eval(iAttrs.compile)},function(value){iElement.html(value),$compile(iElement.contents())(scope),"true"===iAttrs.compileOnce&&x()})}}]).directive("modalSelect",["$ionicModal","$timeout","$filter","$parse",function($ionicModal,$timeout,$filter,$parse){return{restrict:"A",require:"ngModel",scope:{initialOptions:"=options",optionGetter:"&",onSelect:"&",onReset:"&"},link:function(scope,iElement,iAttrs,ngModelController,transclude){function updateListMode(){"true"===iAttrs.useCollectionRepeat?shortList=!1:"false"===iAttrs.useCollectionRepeat?shortList=!0:"undefined"!=typeof scope.options&&(shortList=!!(scope.options.length