Form generator for AngularJS