mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(angular): update to angular 2.0.0-rc.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {Directive, Component, ElementRef, Renderer, Optional, EventEmitter, Input, Output, HostListener, ContentChildren, QueryList, ViewEncapsulation} from 'angular2/core';
|
||||
import {NgControl} from 'angular2/common';
|
||||
import {Directive, Component, ElementRef, Renderer, Optional, EventEmitter, Input, Output, HostListener, ContentChildren, QueryList, ViewEncapsulation} from '@angular/core';
|
||||
import {NgControl} from '@angular/common';
|
||||
|
||||
import {isTrueProperty, isPresent} from '../../util/util';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {FORM_DIRECTIVES, FormBuilder, Validators, Control, ControlGroup} from 'angular2/common';
|
||||
import {FORM_DIRECTIVES, FormBuilder, Validators, Control, ControlGroup} from '@angular/common';
|
||||
|
||||
import {App, IonicApp} from '../../../../../ionic';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Validators, Control, ControlGroup} from 'angular2/common';
|
||||
import {Validators, Control, ControlGroup} from '@angular/common';
|
||||
import {App, Page, NavController} from '../../../../../ionic';
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {Validators, Control, ControlGroup} from 'angular2/common';
|
||||
import {Http} from 'angular2/http';
|
||||
import {Validators, Control, ControlGroup} from '@angular/common';
|
||||
import {Http} from '@angular/http';
|
||||
import {App, Page, IonicApp, NavController} from '../../../../../ionic';
|
||||
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<ion-content padding>
|
||||
|
||||
<ion-slides (change)="onSlideChanged($event)" id="loopSlider">
|
||||
<ion-slide *ngFor="#slide of slides">
|
||||
<ion-slide *ngFor="let slide of slides">
|
||||
<h1>{{ slide.title }}</h1>
|
||||
</ion-slide>
|
||||
</ion-slides>
|
||||
|
||||
Reference in New Issue
Block a user