GithubHelp home page GithubHelp logo

kentongray / angular-formly Goto Github PK

View Code? Open in Web Editor NEW

This project forked from formly-js/angular-formly

0.0 2.0 0.0 1.4 MB

AngularJS directive which takes JSON representing a form and renders to HTML

Home Page: http://nimbly.github.io/angular-formly/

License: MIT License

JavaScript 99.30% CSS 0.70%

angular-formly's Introduction

Formly

Formly for Angular is an AngularJS module which has directives to help customize and render JSON based forms. The directive originated from a need to allow our users to create surveys and distribute them easily. Currently we've can render the form data from JSON and assign a model to form so we can receive the submitted data.

<formly-form result="formData" fields="formFields" options="formOptions" ng-submit="onSubmit()">
</formly-form>

Demo

http://Nimbly.github.io/angular-formly/

Dependencies

  • required: [TODO]
  • optional [TODO]

See bower.json and index.html in the master branch for a full list / more details

Install in your project

  1. download the files
    1. Bower
      1. run bower install angular-formly
  2. include the files in your app
    1. bower_components/angular-formly/dist/formly.min.js
  3. include the module in angular (i.e. in app.js) - formly var app = angular.module('app', ['ng', 'ui.router', 'formly']);

Documentation

[TODO]

Roadmap

Release Notes

Development

  1. git checkout master
    1. run npm install && bower install
    2. test your code using grunt dev which hosts the app at http://localhost:4000
    3. commit your changes
  2. update README, CHANGELOG, bower.json, and do any other final polishing to prepare for publishing
    1. git commit changes

Grunt targets

  • grunt dev: Creates a server for testing at http://localhost:400
  • grunt publish: Copies the src folder and bower_components to gh-pages

angular-formly's People

Contributors

ghelton avatar kentongray avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.