Replace $scope with $rootScope.exo