(function () { "use strict"; angular .module('codeAPLEBOX.client.user.customer.home.rents') .controller('rentsController', rentsController) .filter('selectBoxFilter_rent', selectBoxFilter_rent); /* @ngInject */ function selectBoxFilter_rent() { return function(items, keyword){ var res = []; if(items != null){ for(var i=0;i 0){ vm.checkToastAlarm = true; $timeout(function () { vm.checkToastAlarm = false; }, 3000); } }).catch(function (err) { $log.error(err); }); } } })();