:+1: for attaching to ```$rootScope```.