Bastion: Attaching $state transitionTo to the rootScope.