I am doing assets pre-compile, and running the application in production mode. After compilation when I load the my index page I got followings warnings in the chrome consol
When using angular-cli, this is what works for me:
angular-cli