Basic segment

This commit is contained in:
Max Lynch
2015-05-07 19:13:56 -05:00
parent 9ec9d23341
commit 23653f5bd7
7 changed files with 105 additions and 2 deletions

View File

@ -0,0 +1,18 @@
import {Component, View, bootstrap} from 'angular2/angular2'
import {FormBuilder, Validators, FormDirectives, ControlGroup} from 'angular2/forms';
//import {Button, Switch, Form, List, Label, Item, Input, Content} from 'ionic/ionic';
import {IONIC_DIRECTIVES} from 'ionic/ionic'
console.log([FormDirectives].concat(IONIC_DIRECTIVES));
@Component({ selector: '[ion-app]' })
@View({
templateUrl: 'main.html',
directives: [FormDirectives].concat(IONIC_DIRECTIVES)
})
class IonicApp {
constructor() {
}
}
bootstrap(IonicApp)