I have a global routechangesuccess event handler for tracking route changes as "Page Loads" to our analytics platform.

Currently, I am using the current controller name in the routechangesuccess handler to identify a pre-defined set of variables to send to the anlytics engine (ex: homeController -> foo = 1, galleryController -> foo = 2).

However, we also have a controller which uses logic that determine this value dynamically.

Is there any way to get access to the actual controller object from within the $routeChangeSuccess event handler (as opposed to just the controller name), so I can get access to these dynamic values?