Load external page inside ng-view with AngularJs in an SPA application

10,533

Why not just use an iframe inside your partial template? (second.html)

http://plnkr.co/edit/DngozsvRhvJ3Ssr0amzK

Share:
10,533
Mikola
Author by

Mikola

Software Developer in .NET, Android, Javascript

Updated on June 29, 2022

Comments

  • Mikola
    Mikola almost 2 years

    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.

  • Mikola
    Mikola over 10 years
    I tried it but I was exploring another alternative. I frame give an error when I using WAMP but doesn't show errors in IIS