refactored title in settings modal in angular