Handle unexpected exceptions and validation errors.

Extras

  • How to debug chromium with vscode.
  • Upgrade to Angular 6.