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