angular-cn/modules/@angular/common/test
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
..
directives feat: ngIf now supports else; saves condition to local var 2016-12-09 11:19:08 -08:00
pipes feat(common): add a `titlecase` pipe (#13324) 2016-12-08 16:33:24 -08:00
localization_spec.ts fix(common): make sure the plural category exists (#13169) 2016-12-01 13:26:24 -08:00
spies.ts chore(lint): remove unused imports (#11923) 2016-09-27 17:12:25 -07:00