摘要:
You can also use Promise for http: So for the service, you need to call toPromise() method: Then in your controller, you can get the Promise back: But 阅读全文
posted @ 2016-04-07 01:54
Zhentiw
阅读(294)
评论(0)
推荐(0)
摘要:
Let's see how to track index when we use 'ngFor: <li *ngFor="#hero of heros | async; let i = index"> <hero-item [hero]="hero" (changed)="thisHero = $e 阅读全文
posted @ 2016-04-07 01:14
Zhentiw
阅读(739)
评论(1)
推荐(0)

浙公网安备 33010602011771号