IonicView / update tests

This commit is contained in:
Adam Bradley
2015-06-19 23:00:00 -05:00
parent d1a397c29d
commit 2fdb4aeb29
43 changed files with 194 additions and 328 deletions

View File

@@ -1,13 +1,12 @@
import {Component} from 'angular2/src/core/annotations_impl/annotations';
import {View} from 'angular2/src/core/annotations_impl/view';
import {Alert} from 'ionic/components/alert/alert';
import {IonicView} from 'ionic/ionic';
@Component({ selector: 'ion-app' })
@View({
templateUrl: 'main.html',
directives: [Alert]
@IonicView({
templateUrl: 'main.html'
})
class IonicApp {
constructor() {

View File

@@ -1,5 +1,5 @@
<ion-view>
<button (click)="showAlert()">Alert</button>
<button primary (click)="showAlert()">Alert</button>
<!--
<ion-alert>