I am trying to display some user information in a bootbox dialog. There is a custom component that I need to display within the dialog.
var dialog = bootbox.dialog({
title: 'User Information Table',
message: `<div class="myclass"><app-charts></app-charts></div>`,
buttons: {
cancel: {
label: "Cancel!",
className: 'btn-danger',
callback: function(){
}
})
The template is not compiled and hence is being displayed as a normal tag in the bootbox. Is there a way to display an angular 4 component inside the bootbox dialog?