show.bs.modal pass data angular code example
Example: bs modal service angular pass data
// the data
const initialState = { coments : this.valores};
const modal = this.modalService.show(HistoricoComentarioModal, { ignoreBackdropClick: true, initialState });