angular-docs-cn/packages
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
..
animations refactor(platform-browser): move platform-browser/animations to animations/browser (#15130) 2017-03-14 11:55:49 -07:00
benchpress refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
common feat(common): support `as` syntax in template/* bindings (#15025) 2017-03-14 20:46:29 -07:00
compiler feat(common): support `as` syntax in template/* bindings (#15025) 2017-03-14 20:46:29 -07:00
compiler-cli fix(compiler): generated code should pass `noUnusedLocals` check 2017-03-14 19:52:53 -07:00
core fix(core): don’t throw if queries change during change detection. 2017-03-14 19:52:53 -07:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
examples feat(common): support `as` syntax in template/* bindings (#15025) 2017-03-14 20:46:29 -07:00
forms fix(forms): remove equalsTo validator (#15050) 2017-03-14 15:37:51 -07:00
http refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
language-service fix(compiler): only warn for `@Injectable` classes with invalid args. 2017-03-14 19:52:53 -07:00
platform-browser refactor(platform-browser): move platform-browser/animations to animations/browser (#15130) 2017-03-14 11:55:49 -07:00
platform-browser-dynamic refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
platform-server test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
platform-webworker refactor(core): use flags in `Renderer2.setStyle` instead of booleans (#15045) 2017-03-13 09:45:04 -07:00
platform-webworker-dynamic refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
router fix: element injector vs module injector (#15044) 2017-03-14 16:26:17 -07:00
upgrade feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
README.md refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
es6-subset.d.ts refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
license-banner.txt refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
router-license-banner.txt refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig.json test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
types.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT