Fix break which causes unregistration of Angular page change listeners used by ngRoute.
Code style/formatting consistency changes.