I have utilized the Dialog service to create a pop-up window.
My intention is to display a message to the user in this format:
txt = '<ul>
<li data-ng-repeat = "eachValue in dummnyList" >
{{eachValue | applyFilter}}
</li></ul>' ;
The process is running smoothly, but it seems to be treating {{eachValue | applyFilter}} as plain text.
- {{eachValue | applyFilter}}
Is there something I'm overlooking?
The entire code for the pop-up is as follows:
var txt = '<ul>
<li data-ng-repeat = "eachValue in dummnyList" >
{{eachValue | applyFilter}}
</li></ul>' ;
var proceedButton = {label:'Ok', result: 'ok', cssClass: 'btn blue-button', returnFunction: proceedFunction};
var cancelButton = {label:'Cancel', result: 'not ok', cssClass: 'btn red-button', returnFunction:cancelFunction};
var buttons = [];
buttons.push(proceedButton);
buttons.push(cancelButton);
DialogUtils.openMessageBox({
title: 'Note',
message: txt,
buttons: buttons
});