I am using MdlDialogService
in my angular2 project to alert.
openHelpDialog(){
let result = this.dialogService.alert("<h5>Welcome to Vision Backlog!</h5>");
result.subscribe( () => console.log('alert closed') );
}
What could be the best way to insert big HTML inside alert? This alert will serve for me as a Help File.
UPDATE
I created a separate component for Help, it looks like overhead but serves the purpose. However it gives me WARNING: sanitizing HTML stripped some content
error
openHelpDialog(){
let result = this.dialogService.alert("Test"+ "<help-content></help-content>");
}