modalservice.show bootstrap 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 });