Segment working again

This commit is contained in:
Max Lynch
2015-05-12 13:51:23 -05:00
parent 392e751ee5
commit aadb176a4e
5 changed files with 33 additions and 13 deletions

View File

@ -2,13 +2,14 @@ import {bootstrap} 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 {FormBuilder, Validators, FormDirectives, ControlGroup} from 'angular2/forms';
import {IONIC_DIRECTIVES} from 'ionic/ionic'
//import {IONIC_DIRECTIVES} from 'ionic/ionic'
@Component({ selector: 'ion-app' })
@View({
templateUrl: 'main.html',
directives: [FormDirectives].concat(IONIC_DIRECTIVES)
directives: [FormDirectives].concat([Segment, SegmentButton, Content, Button])
})
class IonicApp {
constructor() {