docs(async-pipe): include observable example (#8900)
Adds the missing example, usage case and a bit more description to the async-pipe.
This commit is contained in:
@ -2,7 +2,7 @@ import {Component, provide} from '@angular/core';
|
||||
import {bootstrap} from '@angular/platform-browser';
|
||||
import {Observable, Subscriber} from 'rxjs/Rx';
|
||||
|
||||
// #docregion AsyncPipe
|
||||
// #docregion AsyncPipePromise
|
||||
@Component({
|
||||
selector: 'async-example',
|
||||
template: `<div>
|
||||
|
Reference in New Issue
Block a user