button refactor

This commit is contained in:
Adam Bradley
2015-06-19 12:25:10 -05:00
parent 4a254b38ca
commit fadd5a5225
43 changed files with 153 additions and 204 deletions

View File

@@ -2,14 +2,14 @@ import {NgSwitch, NgSwitchWhen} from 'angular2/angular2'
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
import {View} from 'angular2/src/core/annotations_impl/view';
import {Segment, SegmentButton, Content, Button} from 'ionic/ionic';
import {Segment, SegmentButton, Content} from 'ionic/ionic';
import {FormBuilder, Validators, formDirectives, ControlGroup} from 'angular2/forms';
@Component({ selector: 'ion-view' })
@View({
templateUrl: 'main.html',
directives: [formDirectives].concat([Segment, SegmentButton, Content, Button, NgSwitch, NgSwitchWhen])
directives: [formDirectives].concat([Segment, SegmentButton, Content, NgSwitch, NgSwitchWhen])
})
export default class IonicApp {
constructor() {