/**
* @ngdoc managers
* @name EmailManager
* @module s4c.managers.EmailManager
*
* @description
* `EmailManager` Componente para comunicação entre uma página html qualquer e o controller da diretiva
*
*
*/
(function () {
'use strict';
function EmailManager() {
return {
'ativo': false,
'zindex': 30,
'data': {},
/**
* @method abrir
*/
'abrir': function () {
this.ativo = true;
},
/**
* @method fechar
*/
'fechar': function () {
this.ativo = false;
}
};
}
angular.module('s4c.managers')
.service('EmailManager', EmailManager);
})();