Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

templateUrl in Popup

$
0
0

@burbians wrote:

Hi,

I want to show a template as content of a popup, but after so many test I haven't able to do it.

I have the template in www/templates/template.html

<html>
  <head></head>
  <body>
    Template
  </body>
</html>

and this is the popup:

  showAlertPopup(){
         this.popup.alert({
              title: 'Title',
              templateUrl: 'templates/template.html',
              okText: 'OK',
              okType: ''
         });
  }

But the popup is displayed like this:

Thanks in advantage

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles