Mercurial > hg > ng2-query-ismi
diff app/query-app.component.ts @ 45:dc4f0541f04d ng2-rc1
update to angular2-rc1. mostly working ;-(
author | casties |
---|---|
date | Tue, 14 Jun 2016 20:00:39 +0200 |
parents | 896ae7eefb33 |
children |
line wrap: on
line diff
--- a/app/query-app.component.ts Tue Jun 14 19:58:53 2016 +0200 +++ b/app/query-app.component.ts Tue Jun 14 20:00:39 2016 +0200 @@ -1,5 +1,5 @@ -import {Component} from 'angular2/core'; -import {HTTP_PROVIDERS} from 'angular2/http'; +import {Component} from '@angular/core'; +import {HTTP_PROVIDERS} from '@angular/http'; import {QueryState} from './query-state'; import {QueryStep} from './query-step'; @@ -19,7 +19,7 @@ </div> <div class="container"> <div>Select a query step:</div> - <query-select *ngFor="#step of queryStepList; #i=index;" + <query-select *ngFor="let step of queryStepList; let i=index;" [queryStep]="step" [index]="i" (queryChanged)="onQueryChanged($event)"></query-select> <div>