I added ngx-translate to my angular-seed project. Running it normally (npm start
) or on production build (npm run build.prod
) works fine. Running aot build using npm run build.prod.aot
results in errors during execution.
An error log of the console is shown below:
I have created a fork with a minimal reproduction of the problem: https://github.com/kubica/angular-seed. Also look at this commit to check if i missed something.
The angular-seed-advances project contains ngx-translate, too and the aot build works without any trouble but i could not figure out what's the exactly difference.
Anybody got an idea what i'm doing wrong?