(function () { "use strict"; angular .module('codeAPLEBOX.client') .controller('footerController', footerController); /* @ngInject */ function footerController($state, appConfig, $log, $cookies) { var vm = this; // ======================================================================= // 초기데이터 // ======================================================================= // ======================================================================= // Angularjs Function // ======================================================================= vm.goCustomerHome = function(){ $cookies.remove('detailStatusYearMonth'); $cookies.remove('rentPerMonthYearMonth'); $cookies.remove('transactionPerMonthYearMonth'); $state.go('customer.home'); } vm.goRentstatus = function(){ $cookies.remove('detailStatusYearMonth'); $cookies.remove('rentPerMonthYearMonth'); $cookies.remove('transactionPerMonthYearMonth'); $state.go('customer.rentstatus'); } vm.goTransfer = function(){ $cookies.remove('detailStatusYearMonth'); $cookies.remove('rentPerMonthYearMonth'); $cookies.remove('transactionPerMonthYearMonth'); $state.go('customer.transfer'); } vm.goClientSetting = function(){ $cookies.remove('detailStatusYearMonth'); $cookies.remove('rentPerMonthYearMonth'); $cookies.remove('transactionPerMonthYearMonth'); $state.go('customer.setting'); } // ======================================================================= // JavaScript Function // ======================================================================= // ======================================================================= // API // ======================================================================= } })();