Issue 1:
I'm submitting a ... (check one with "x")

[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

its not really a bug. just a misspelling that would probably never show up in during normal use.

this happens using @angular/core 4.0.0-beta.7

Uncaught (in promise) Error: Angular requires Zone.js prolyfill.

at new NgZone (core.umd.js:3707)

line 3707: throw new Error('Angular requires Zone.js prolyfill.');

at PlatformRef_._bootstrapModuleFactoryWithZone (core.umd.js:8009)

at eval (core.umd.js:8052)

at

Expected behavior

just fix the spelling error in angular/core@4.0.0-beta.7

file core.umd.js

line 3707: throw new Error('Angular requires Zone.js polyfill.');

Minimal reproduction of the problem with instructions

this can be duplicated by NOT loading 'zone.js' in a index.html file. Then view console log with developer tools. It should display

What is the motivation / use case for changing the behavior?

drank more coffee. stay up past midnight

Please tell us about your environment:

windows 10 (64 bit), brackets, npm, Electron

Angular version: 2.0.X

this error is in at least angular/core version 4.0.0-beta.7 could be in previous version. dont know. dont care.

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

currently using chrome canary . all modern browsers should be affected.

Language: [all | TypeScript X.X | ES6/7 | ES5]

javascript ES6

Node (for AoT issues): node --version =

node version: v8.0.0-nightly201702063fffebbde3

Issue 2:
Wanted to be sure that this is when using the compiler CLI

I'm submitting a ... (check one with "x")

[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

running ngc -p when using my typescript.cjs.json file which conifgures as such

{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"sourceMap": true,
"removeComments": false,
"noImplicitAny": false,
"declaration": true,
"outDir": "../dist"

},
"files": [
"../src/multiple-date-picker.module.ts"
],
"exclude": [
"node_modules"
],
"angularCompilerOptions": {
"genDir": "../aot",
"skipMetadataEmit": false
}
}

The compiled error is as follows (running npm run build):

Error encountered resolving symbol values statically. Calling function 'makeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in /Users/mbp06/Repos/multiple-date-picker-a2/node_modules/@angular/core/src/di/metadata.d.ts, resolving symbol OpaqueToken in /Users/mbp06/Repos/multiple-date-picker-a2/node_modules/@angular/core/src/di/opaque_token.d.ts, resolving symbol OpaqueToken in /Users/mbp06/Repos/multiple-date-picker-a2/node_modules/@angular/core/src/di/opaque_token.d.ts

Expected behavior

it would compile correctly

Minimal reproduction of the problem with instructions

i don't have a way to reproduce it other than this is my package json configuration

"devDependencies": {
"@angular/compiler": "^2.4.7",
"@angular/compiler-cli": "^2.4.7",
"ts-loader": "^2.0.0",
"typescript": "2.1.6",
"typings": "^2.1.0",
"rxjs": "^5.1.0",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.1",
"gulp-contrib-copy": "^0.1.2",
"gulp-git": "^1.14.0",
"gulp-jshint": "^2.0.4",
"gulp-less": "^3.3.0",
"gulp-minify-css": "^1.2.4",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",
"gulp-uglify": "^2.0.1",
"jshint": "^2.9.4",
"jshint-stylish": "^2.2.1",
"run-sequence": "^1.2.2",
"yargs": "^6.6.0",
"zone.js": "0.7.6"

},

"engines": {

"node": ">=0.10.0"

},

"dependencies": {

"@angular/common": "^2.X.X",

"@angular/compiler": "^2.X.X",

"@angular/core": "^2.X.X",

"@angular/forms": "^2.X.X",

"@angular/http": "^2.X.X",

"@angular/platform-browser": "^2.X.X",

"@angular/platform-browser-dynamic": "^2.X.X",

"moment": "^2.X.X"

}

What is the motivation / use case for changing the behavior?

I just want it to work

Please tell us about your environment:

angular-cli: 1.0.0-beta.19-3

node: 6.2.2

os: darwin x64

Angular version: 2.0.X

2.4.7

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Chrome

Language: [all | TypeScript X.X | ES6/7 | ES5]

ES6 compiled to ES5

Node (for AoT issues): node --version = 6.2.2