Skip to content

Instantly share code, notes, and snippets.

Created April 11, 2015 00:48
Show Gist options
  • Save anonymous/6ee89fec78623d6354de to your computer and use it in GitHub Desktop.
Save anonymous/6ee89fec78623d6354de to your computer and use it in GitHub Desktop.

Revisions

  1. @invalid-email-address Anonymous created this gist Apr 11, 2015.
    12 changes: 12 additions & 0 deletions forms anidados
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    <ng-form name="formPadre">
    <div ng-repeat="obj1 in lista1">
    <ng-form name="formObj1">
    <input type="text" name="obj1" ng-model="obj1.attr" >
    </ng-form>
    </div>
    <div ng-repeat="obj2 in lista2">
    <ng-form name="formObj2">
    <input type="text" name="obj2" ng-model="obj2.attr" >
    </ng-form>
    </div>
    </ng-form>