angular-docs-cn/modules/@angular
Misko Hevery b4db73d0bf feat: ngIf now supports else; saves condition to local var
NgIf syntax has been extended to support else clause to display template
when the condition is false. In addition the condition value can now
be stored in local variable, for later reuse. This is especially useful
when used with the `async` pipe.

Example:

```
<div *ngIf="userObservable | async; else loading; let user">
  Hello {{user.last}}, {{user.first}}!
</div>
<template #loading>Waiting...</template>
```

closes #13061
closes #13297
2016-12-09 11:19:08 -08:00
..
benchpress feat: update RxJS peer dependency to 5.0.0-rc.4 2016-11-29 16:27:33 -08:00
common feat: ngIf now supports else; saves condition to local var 2016-12-09 11:19:08 -08:00
compiler fix: Better error when directive not listed in NgModule.declarations 2016-12-09 11:16:28 -08:00
compiler-cli chore(release): update version of tsc-wrapped to 0.4.2 2016-12-07 13:54:22 -08:00
core fix(animations): always cleanup players after they have finished internally (#13334) 2016-12-09 10:45:10 -08:00
docs docs(cheatsheet): correct HostBinding decorator example (#13206) 2016-12-05 10:25:40 -08:00
examples feat: ngIf now supports else; saves condition to local var 2016-12-09 11:19:08 -08:00
facade fix(facade): cache original format string (#12764) 2016-12-05 10:26:59 -08:00
forms fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08:00
http fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08:00
language-service feat: ngIf now supports else; saves condition to local var 2016-12-09 11:19:08 -08:00
platform-browser feat(platform browser): introduce Meta service (#12322) 2016-12-08 18:44:28 -08:00
platform-browser-dynamic fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08:00
platform-server fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08:00
platform-webworker fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08:00
platform-webworker-dynamic fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08:00
router refactor(router): misc refactoring (#13330) 2016-12-09 10:44:46 -08:00
upgrade fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08:00
README.md docs: update README.md for npm packages 2016-09-14 17:14:02 -07:00
license-banner.txt build: remove JS suffix from the license banner 2016-09-13 21:48:58 -07:00
router-license-banner.txt fix(router): add a banner file for the router (#12919) 2016-11-16 09:17:19 -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