Using an array from Observable Object with ngFor and Async Pipe Angular 2

后端 未结 4 555
南笙
南笙 2020-12-08 03:25

I am trying to understand how to use Observables in Angular 2. I have this service:

import {Injectable, EventEmitter, ViewChild} from \'@angular/core\';
i         


        
4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-08 03:59

    Who ever also stumbles over this post.

    I belive is the correct way:

      
    {{ appointment }}

提交回复
热议问题