i am having ng repeat in <tr> and <td> i am trying to achieve a time table
like structure thus require unique ng model for each cell in table
here is my code
<tr ng-repeat="day in days track by $index">
<td>
<input ng-disabled="true" class="form-control"
ng-model="weekdays[$index]"></td>
<td ng-repeat="period in periods track by $index"><input type="text"
ng-model="timetable.subject[[$parent.$index][$index]]"
name="name"
uib-typeahead="onesectionsubject as
onesectionsubject.subjectMaster.subjectName+'/'+onesectionsubject.subjectTeacher.firstName
for onesectionsubject in onesectionsubjects | filter:$viewValue | limitTo:8"
class="form-control" pattern="[A-Za-z0-9 ]*"
uib-tooltip="Enter valid subject name"
tooltip-enable="form.name.$invalid" autocomplete="off">
</td>
</tr>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.