.c.f.

Upgrading

npm install @angular/{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router,animations}@latest typescript@latest --save

Now upgrade all global packages.

npm update -g

or

npm i -g npm
npm show {pkg} version

E.g.

npm show express version
npm install @angular/{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router,animations}@latest typescript@latest --save
ng build --prod --aot

Building

ng build --prod --aot
ng build --prod --aot --output-path="path/to/folder" --output-hashing=none
ng build --prod --aot --output-path=../host/host/wwwroot --output-hashing=none --base-href .

Performance Issues with Android

  • http://stackoverflow.com/questions/29130227/angularjs-android-4-2-very-slow-to-react
  • http://stackoverflow.com/questions/42963049/angular-2-app-is-very-slow-on-android-devices
  • https://forum.ionicframework.com/t/android-performances-ionic2-angular-much-worse-than-ios/51438/9
  • https://meta.discourse.org/t/the-state-of-javascript-on-android-in-2015-is-poor/33889
  • https://eviltrout.com/2016/02/25/fixing-android-performance.html
  • https://meta.discourse.org/t/a-tour-of-how-the-widget-virtual-dom-code-in-discourse-works/40347