chore(angular): update to angular 2.0.0-rc.1

This commit is contained in:
Adam Bradley
2016-05-16 14:55:08 -05:00
137 changed files with 342 additions and 381 deletions

View File

@@ -1,4 +1,4 @@
import {Directive, ElementRef, Renderer, Attribute, NgZone} from 'angular2/core';
import {Directive, ElementRef, Renderer, Attribute, NgZone} from '@angular/core';
import {Ion} from '../ion';
import {ItemSlidingGesture} from '../item/item-sliding-gesture';
@@ -53,7 +53,7 @@ export class List extends Ion {
*
* ```ts
* import {Page, List} from 'ionic-angular';
* import {ViewChild} from 'angular2/core';
* import {ViewChild} from '@angular/core';
* @Page...
* export class MyClass {
* @ViewChild(List) list: List;
@@ -88,7 +88,7 @@ export class List extends Ion {
*
* ```ts
* import {Page, List} from 'ionic-angular';
* import {ViewChild} from 'angular2/core';
* import {ViewChild} from '@angular/core';
* @Page...
* export class MyClass {
* @ViewChild(List) list: List;

View File

@@ -2,11 +2,11 @@
<ion-content class="outer-content">
<ion-list class="outer-content" *ngFor="#person of people">
<ion-list class="outer-content" *ngFor="let person of people">
<ion-list-header>
{{person.name}}
</ion-list-header>
<ion-item *ngFor="#component of person.components">
<ion-item *ngFor="let component of person.components">
{{component}}
<div item-right>
<ion-icon name="pin"></ion-icon>

View File

@@ -1,8 +1,8 @@
<ion-content>
<ion-list>
<ion-item-group *ngFor="#group of groups">
<ion-item-group *ngFor="let group of groups">
<ion-item-divider sticky>{{group.title}}</ion-item-divider>
<ion-item *ngFor="#item of group.items">
<ion-item *ngFor="let item of group.items">
{{item.title}}
</ion-item>
</ion-item-group>