AngularJS cancel route change

Veröffentlicht am: 07 April 2017
auf dem Kanal: phani sekhar veesam
61
1

In this video we will discuss, how to cancel route change in Angular with an example. This is extremely useful if you want to warn a user when they are navigating away from a page with unsaved changes. 

For our example, let us assume that the user is currently on this students page. When he click on any other links (Home or Courses on the left), we want to present the user with a confirmation box (Are you sure you want to navigate away from this page). If the user clicks OK, the user will be redirected to the new route. If cancel is clicked, route navigation should be cancelled and the user should stay on the students page.


Auf dieser Seite können Sie das Online-Video AngularJS cancel route change mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer phani sekhar veesam 07 April 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 61 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!