I want to remove all hard codings in angular controller, For that I want to load all hot codings from another js file, For Example
modalHeader = "Success";
Here Success is a Hot coding. So I want to load this success from out side js file. In Js controller I want to give key of the success,instead of "Success", I reffered many articals But there is no useful for this scenario.Please give some info to proceed like this,as I am fresher to angularJS
Thanks in advance.