Zone.js replaces the global Error function.
This breaks logging of errors:
- if a user calls
new Error(...), the error is shown as an object instead of showing its stack
- for SyntaxErrors, stack traces don't work correctly with sourcemaps.
- source maps don't work on stack traces when long-strack-trace zones is used