use $scope.$broadcast to let component to back to homepage.