Loading translation files asynchronously with angular-translate and Webpack
Hello all,
I am developing a component based angular 1.5+ application. Since I am using Webpack to build, I want to make full of use of it and I want to load asynchronously translations files split in chuncks.
In order to make chuncks out of your code, you should can dynamic System.import
import
syntax (details). If you are not familiar with this concept I suggest you to read the documentation about code splitting.
Moreover I want to use angular-translate which normally works with static assets served locally or via url.
How can I tell angular-translate to load my assets via import
?