This is a simple usage of mohsen1.schema-form
<form schema-form="{type: 'string', title: 'firstName' }" ng-model="simpleString"> <button class="btn btn-primary" type="submit">Submit</button> </form> <input ng-model="simpleString">
This demo demonstrate two way data binding and live ng-model
and schema-form
Attributes. Change model and the schema accordingly and click commit to see the changes.
In this example, schema is loaded via an XHR call.