Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

templateUrl in Popup

$
0
0

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


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>