Angular Form Generator

A directive to build forms dynamically through JSON

Code on Github

Dependencies

  • AngularJS (minimal version 1.0.4)

Files to download

Uncompressed source Minified source

Installation

Just include the dependency angular.module('coolModule', ['formGenerator']);

Demo


Form Fields

Current Form Fields

Label Type Actions
{{field.label.name}} {{field.type}}

Options

Current Field Options

Label Value Actions
{{option.label.name}} {{option.value}}

Form Properties

Form Groups

Current Form Groups

Name ID Actions
{{group.name}} {{group.id}}

Resulting Form

Form Model

{{person | json}}