I'm afraid this will be better solved with upgrade to Angular 1.5 and using router lifecycle callbacks:
https://docs.angularjs.org/guide/component-router#router-lifecycle-hooks
Right now we don't have a simple way to hook into lifecycle. It would mean dirty hacks instead, which would just pollute the code.
|