apogee.ui-forms
v0.1.0
Published
An opinionated angular library to create awesome forms with minimal markups.
Downloads
2
Readme
apogee.ui-forms
An opinionated angular library to create awesome forms with minimal markups.
Installation
bower install https://github.com/NewOrbit/apogee.ui-forms.git
Usage
<form ui-form>
<div ui-form-element="field1" required>
<label ui-form-label>Some label 1</label>
<input type="email" ui-form-input>
</div>
<div ui-form-element="field2">
<label ui-form-label>Some label 2</label>
<input type="checkbox" ui-form-input>
</div>
<button type="submit">Submit</button>
</form>
myModule.controller('MyController', function($scope){
var vm = $scope;
vm.submit = function(){
console.log('form submitted:', vm.field1, vm.field2);
};
});
for full examples see here;
for more advance usages see wiki.
Contributing
TODO: Write contibution guidline
Credits
TODO: Write credits
License
TODO: Write license