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,5 +1,5 @@
import {Component, Optional, ElementRef, Renderer, Input, Output, Provider, forwardRef, EventEmitter, HostListener, ContentChildren, QueryList, ViewEncapsulation} from 'angular2/core';
import {NG_VALUE_ACCESSOR} from 'angular2/common';
import {Component, Optional, ElementRef, Renderer, Input, Output, Provider, forwardRef, EventEmitter, HostListener, ContentChildren, QueryList, ViewEncapsulation} from '@angular/core';
import {NG_VALUE_ACCESSOR} from '@angular/common';
import {Alert} from '../alert/alert';
import {ActionSheet} from '../action-sheet/action-sheet';

View File

@@ -1,5 +1,5 @@
import {App, Page} from '../../../../../ionic';
import {Control, ControlGroup} from 'angular2/common';
import {Control, ControlGroup} from '@angular/common';
@Page({

View File

@@ -35,7 +35,7 @@
<ion-item>
<ion-label>Pets</ion-label>
<ion-select [(ngModel)]="pets" multiple>
<ion-option *ngFor="#o of petOptions" [value]="o.value">{{o.text}}</ion-option>
<ion-option *ngFor="let o of petOptions" [value]="o.value">{{o.text}}</ion-option>
</ion-select>
</ion-item>

View File

@@ -1,4 +1,4 @@
import {NgFor} from 'angular2/common';
import {NgFor} from '@angular/common';
import {App, Page} from '../../../../../ionic';

View File

@@ -77,7 +77,7 @@
<ion-option value="12">December</ion-option>
</ion-select>
<ion-select [(ngModel)]="year">
<ion-option *ngFor="#yr of years">{{yr}}</ion-option>
<ion-option *ngFor="let yr of years">{{yr}}</ion-option>
</ion-select>
</ion-item>