Fix break which causes unregistration of Angular page change listeners used by ngRoute.