Thursday, 2 June 2016

39. Angularjs route change events



   Different events that are triggered when a route change occurs in an angular application.
   Logging the events and event handler properties.

When route change/navigation occurs in angular application

$routeChangeStart
$locationChangeStart
$routeChangeSuccess
$locationChangeSuccess
                           events will be triggered.
now we will learn predefined events($routeChangeStart, $locationChangeStart) in more depth..


use Developer tools to know more all properties of each event parameter(event,next,current).

No comments:

Post a Comment