mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 02:30:13 +00:00
chore(ng2-template): upgrade angular 2 template to rc1 version
This commit is contained in:
committed by
SteveSandersonMS
parent
8005427d94
commit
58a1aa3538
@@ -1,6 +1,6 @@
|
||||
import * as ng from 'angular2/core';
|
||||
import * as router from 'angular2/router';
|
||||
import { Http, HTTP_BINDINGS } from 'angular2/http';
|
||||
import * as ng from '@angular/core';
|
||||
import * as router from '@angular/router-deprecated';
|
||||
import { Http, HTTP_BINDINGS } from '@angular/http';
|
||||
import { NavMenu } from '../nav-menu/nav-menu';
|
||||
import { Home } from '../home/home';
|
||||
import { FetchData } from '../fetch-data/fetch-data';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as ng from 'angular2/core';
|
||||
import * as ng from '@angular/core';
|
||||
|
||||
@ng.Component({
|
||||
selector: 'counter',
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr *ngFor="#forecast of forecasts">
|
||||
<tr *ngFor="let forecast of forecasts">
|
||||
<td>{{ forecast.dateFormatted }}</td>
|
||||
<td>{{ forecast.temperatureC }}</td>
|
||||
<td>{{ forecast.temperatureF }}</td>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as ng from 'angular2/core';
|
||||
import { Http } from 'angular2/http';
|
||||
import * as ng from '@angular/core';
|
||||
import { Http } from '@angular/http';
|
||||
|
||||
@ng.Component({
|
||||
selector: 'fetch-data',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as ng from 'angular2/core';
|
||||
import * as ng from '@angular/core';
|
||||
|
||||
@ng.Component({
|
||||
selector: 'home',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as ng from 'angular2/core';
|
||||
import * as router from 'angular2/router';
|
||||
import * as ng from '@angular/core';
|
||||
import * as router from '@angular/router-deprecated';
|
||||
|
||||
@ng.Component({
|
||||
selector: 'nav-menu',
|
||||
|
||||
Reference in New Issue
Block a user