routeChangeSuccess
routeChangeSuccess is an event broadcast by Angular's $route service. This event fires after a route change has successfully completed and the new controller has been instantiated and linked to the scope. It is typically used to perform actions that should occur after the view has been updated and the associated controller has been executed.
The $routeChangeSuccess event passes two arguments to its handler: the new route's scope and the previous route's
It's important to note that $routeChangeSuccess fires after the DOM has been updated and the controller has