admin管理员组文章数量:1315233
Is there a way of insert an external web page inside angularjs ng-view
.
For example when I press a link with ng-route
in my example I want that a external page load inside my own web page.
In this example, I wish that when I click external, another page should be loaded. I have tried with ng-include and doesn't work.
Thanks for your help.
Is there a way of insert an external web page inside angularjs ng-view
.
For example when I press a link with ng-route
in my example I want that a external page load inside my own web page.
In this example, I wish that when I click external, another page should be loaded. I have tried with ng-include and doesn't work.
http://plnkr.co/edit/vkAvZ2hGUjHlfHy0ul1z
Thanks for your help.
Share Improve this question edited Dec 15, 2013 at 18:14 m59 43.8k14 gold badges121 silver badges139 bronze badges asked Dec 15, 2013 at 16:55 l2mtl2mt 5502 gold badges7 silver badges20 bronze badges1 Answer
Reset to default 5Why not just use an iframe inside your partial template? (second.html)
http://plnkr.co/edit/DngozsvRhvJ3Ssr0amzK
本文标签: javascriptLoad external page inside ngview with AngularJs in an SPA applicationStack Overflow
版权声明:本文标题:javascript - Load external page inside ng-view with AngularJs in an SPA application - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741981230a2408406.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论