/**
* @ngdoc managers
* @name MSIManager
* @module s4c.managers.MSIManager
*
* @description
* `MSIManager` Componente para comunicação entre uma página html qualquer e o controller da diretiva
*
*
*/
(function () {
'use strict';
function MSIManager(MainState) {
return {
/**
* @method gotoIncidente
* @param {*} id
*/
'gotoIncidente': function (id) {
var msi = MainState.getDirective('filtro-msi');
if (msi) {
msi.gotoIncidente(id);
}
}
};
}
MSIManager.$inject = ['MainState'];
angular.module('s4c.managers')
.service('MSIManager', MSIManager);
})();