angular-formly
Version:
AngularJS directive which takes JSON representing a form and renders to HTML
102 lines (65 loc) • 5.01 kB
Markdown
<img src="https://raw.githubusercontent.com/formly-js/angular-formly/master/other/logo/angular-formly-logo-64px.png" alt="angular-formly logo" title="angular-formly" align="right" width="64" height="64" />
## [angular-formly](http://docs.angular-formly.com)
[THIS PROJECT NEEDS A MAINTAINER](https://github.com/formly-js/angular-formly/issues/638)
Status:
[](https://www.npmjs.org/package/angular-formly)
[](http://npm-stat.com/charts.html?package=angular-formly&from=2015-01-01)
[](https://travis-ci.org/formly-js/angular-formly)
[](https://codecov.io/github/formly-js/angular-formly)
Links:
[](http://docs.angular-formly.com)
[](http://angular-formly.com)
[](https://egghead.io/playlists/advanced-angular-forms-with-angular-formly)
[](https://gitter.im/formly-js/angular-formly?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://github.com/formly-js/angular-formly/releases)
[](http://makeapullrequest.com)
angular-formly is an AngularJS module which has a directive to help customize and render JavaScript/JSON configured forms.
The `formly-form` directive and the `formlyConfig` service are very powerful and bring unmatched maintainability to your
application's forms.
```html
<form name="vm.someForm" ng-submit="vm.handleSubmit()">
<formly-form model="vm.model" fields="vm.fields" options="vm.options">
<button type="submit" ng-disabled="vm.someForm.$invalid">Submit</button>
<button type="button" ng-click="vm.options.resetModel()">Reset</button>
</formly-form>
</form>
```
From there, it's just JavaScript. Allowing for DRY, maintainable, reusable forms.
## [Learning](http://learn.angular-formly.com)
### Egghead.io Lessons
I'm an [egghead.io](https://egghead.io/) author and I have made a handful of lessons available there for free [here](https://egghead.io/playlists/advanced-angular-forms-with-angular-formly)
### NG-NL Talk
[](http://youtu.be/o90TMDL3OYc)
### Examples
[The website](http://angular-formly.com/) is full of tons of examples.
### More
Find more resources at [learn.angular-formly.com](http://learn.angular-formly.com)
## Documentation
Find all the documentation at [docs.angular-formly.com](http://docs.angular-formly.com).
## Plugins
Find all the plugins at [docs.angular-formly.com/page/plugins](http://docs.angular-formly.com/page/plugins)
## Getting Help
Please don't file an issue unless you feel like you've found a bug or have a feature request. Instead, go to [help.angular-formly.com](http://help.angular-formly.com) and follow the instructions.
## Roadmap
See the [issues labeled enhancement](https://github.com/formly-js/angular-formly/labels/enhancement)
## Contributing
Please see the [CONTRIBUTING Guidelines](CONTRIBUTING.md).
**Note**: This projects adheres to a [Code of Conduct](CODE_OF_CONDUCT.md).
## Financial Support
Some have expressed a desire to contribute financially as a way of expressing gratitude. I appreciate anything you (or
your company) would be willing to contribute :-) You can support me [here](https://www.patreon.com/kentcdodds). Thanks!
## Bookmark Links
You can bookmark these :-)
- [http://help.angular-formly.com](http://help.angular-formly.com)
- [http://question.angular-formly.com](http://question.angular-formly.com)
- [http://issue.angular-formly.com](http://issue.angular-formly.com)
- [http://new-example.angular-formly.com](http://new-example.angular-formly.com)
- [http://egghead.angular-formly.com](http://egghead.angular-formly.com)
- [http://chat.angular-formly.com](http://chat.angular-formly.com)
- [http://mailing-list.angular-formly.com](http://mailing-list.angular-formly.com)
- [http://learn.angular-formly.com](http://learn.angular-formly.com)
- [http://questions.angular-formly.com](http://questions.angular-formly.com)
## Thanks
A special thanks to [Nimbly](http://gonimbly.com) for creating angular-formly.
This library is maintained (with love) by me, [Kent C. Dodds](https://twitter.com/kentcdodds).
Thanks to all [contributors](https://github.com/formly-js/angular-formly/graphs/contributors)!