angular-cn/packages/compiler/test
Miško Hevery c10c060d20 feat(common): support `as` syntax in template/* bindings (#15025)
* feat(common): support `as` syntax in template/* bindings

Closes #15020

Showing the new and the equivalent old syntax.
- `*ngIf="exp as var1”`
   => `*ngIf="exp; let var1 = ngIf”`
- `*ngFor="var item of itemsStream |async as items”`
   => `*ngFor="var item of itemsStream |async; let items = ngForOf”`

* feat(common): convert ngIf to use `*ngIf="exp as local“` syntax

* feat(common): convert ngForOf to use `*ngFor=“let i of exp as local“` syntax

* feat(common): expose NgForOfContext and NgIfContext
2017-03-14 20:46:29 -07:00
..
aot fix(compiler): only warn for `@Injectable` classes with invalid args. 2017-03-14 19:52:53 -07:00
css_parser build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
expression_parser feat(common): support `as` syntax in template/* bindings (#15025) 2017-03-14 20:46:29 -07:00
i18n build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
ml_parser fix(compiler): improve error msg for unexpected closing tags (#14747) 2017-03-10 13:05:17 -08:00
output feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
schema build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
template_parser feat(common): support `as` syntax in template/* bindings (#15025) 2017-03-14 20:46:29 -07:00
directive_lifecycle_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
directive_normalizer_spec.ts feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
directive_resolver_mock_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
directive_resolver_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
integration_spec.ts fix(compiler): shouldn't throw when Symbol is used as DI token (#13701) 2017-03-10 15:26:37 -08:00
metadata_overrider_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
metadata_resolver_fixture.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
metadata_resolver_spec.ts fix(compiler): Improve error message for missing annotations (#14724) 2017-03-14 17:12:18 -07:00
ng_module_resolver_mock_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
ng_module_resolver_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
parse_util_spec.ts fix(compiler): warning prints "WARNING" instead of "ERROR" (#15125) 2017-03-14 17:12:44 -07:00
pipe_resolver_mock_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
pipe_resolver_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
resource_loader_mock_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
runtime_compiler_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
selector_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
shadow_css_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
spies.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
style_url_resolver_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
url_resolver_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
util_spec.ts fix(compiler): fix utf8encode, move to sharted utils, add tests (#15076) 2017-03-14 17:13:39 -07:00