Sorry if I'm not explaining the question well in the title, I'm not sure of the correct lingo. Let me give you an example instead.
So this is a normal HTML file.
<span>Well to the site!</span>
I would like to make it a bit more dynamic by perhaps having in the JS.
<script> $scope.welcome = "Welcome to the site!"; </script>
In the HTML
Now I have just had a large JSON array in a separate JS file and loaded it in to the
<head> and then called it.
Is this the correct way or is there a proper practice? The closest thing I can think of is
Internationalization in Java.