get initial state in nxg bootratp modal 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 });