I am using Angular for German, English, Spanish, French and Italian users How to load the local file dynamically depend of User ' Language settings ? as an example : For German users should Angular load: https://code.angularjs.org/1.4.3/i18n/angular-locale_de-de.js For Italian Users should Angular load https://code.angularjs.org/1.4.3/i18n/angular-locale_it-it.js
I am thinking to use $local.id to define the user language then based on that I load the local file , but I don't know how or if there is any other solution to load the JS file dynamically also is appreciated . regards