Switch Activities controller to $rootScope