AngularJS page refresh problem

Veröffentlicht am: 11 März 2016
auf dem Kanal: kudvenkat
148,270
350

Resource interpreted as Stylesheet but transferred with MIME type text/html
angularjs html5mode refresh 404
angularjs refresh page 404
angularjs routing refresh
uncaught syntaxerror unexpected token angularjs

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
   / @aarvikitchen5572  

In this video we will discuss page refresh issue that may arise when you refresh the page by pressing CTRL + F5 or CTRL + R. This is continuation to Part 30. Please watch Part 30 from AngularJS Tutorial before proceeding.

What is the issue : When you navigate to http://localhost/students, you will see list of students. Click on any student name. For example when you click on Mark, you will see mark details and the URL in the address bar is http://localhost/students/1

At this point if you refresh the page by pressing CTRL + F5 or CTRL + R, the student details disappear and we also loose the page styles.

To see the errors, launch the Browser Developer Tools by pressing F12.

To fix this issue all you have to do is place the base href="/" element just below the title element in the head section of index.html page.

Link for all dot net and sql server video tutorial playlists
https://www.youtube.com/user/kudvenka...

Link for slides, code samples and text version of the video
http://csharp-video-tutorials.blogspo...


Auf dieser Seite können Sie das Online-Video AngularJS page refresh problem mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer kudvenkat 11 März 2016 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 148,270 Mal angesehen und es wurde von 350 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!