Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way I can view the full source code of a webpage that uses Angular UI-Router?

For example, if you were to go to http://angular-ui.github.io/ui-router/sample/#/, no matter what page on that webpage.. if you Right Click --> View Source, the source code is always the same.

Is there any way I can view the HTML the browser is seeing in full all together? As in.. the "ui-view" portion of the Angular code cuts to another portion of HTML on a different page.. and I would like to see how the browser views all the HTMl when put together as one full page.

like image 739
user1189352 Avatar asked Oct 28 '25 07:10

user1189352


1 Answers

In Chrome: press F12 to open the Developer Tools, then go to the 'Sources' tab:

enter image description here

All currently loaded sources are displayed on the left, and clicking them shows the code in the middle.

like image 130
Niels Keurentjes Avatar answered Oct 31 '25 11:10

Niels Keurentjes



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!