Home How to use $window.open to display html page instead of downloading it
Reply: 0

How to use $window.open to display html page instead of downloading it

Evan_HZY
1#
Evan_HZY Published in 2017-12-08 00:01:40Z

I am trying to display an HTML page by using:

$window.open('https://xxx.html', '_blank');

However it keeps downloading the html file instead of displaying it.

What should I do in order to display the HTML page in a new tab?

Thanks in advance!

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.314472 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO