Skip to main content

All Questions

1 vote
2 answers
1k views

Values are duplicated into all input field which is created using the ng-repeat and ng-model

I am using the ng-repeat to create the input fields dynamically, everything seems to be working fine and the input fields are created but due to some reason when I enter some value into that created ...
BATMAN_2008's user avatar
  • 3,580
0 votes
0 answers
51 views

how can get ng-model value within ng-repeat on directive?

I want's to get the value of ng-model within the the ng-repeat on my own directive and use the value of that ng-model in the directive for a fuction. here is a plunker to see code in action : https:/...
Syd Amir's user avatar
  • 475
1 vote
1 answer
40 views

Angular empty option remove

I have problem with empty option when i repeat through array. Here is code. View: <select ng-model="getseason" class="form-control"> <option ng-repeat="season in seasons" value="{{ ...
user3590094's user avatar
4 votes
2 answers
4k views

Angular - how to pass ng-model from ng-repeat to a function and to scope

I have the following code: <form ng-submit="addRow($index)"> <input type="text" ng-repeat="column in table.columns" ng-model="column"> <input type="submit" value="add row"> &...
trs's user avatar
  • 863
0 votes
2 answers
2k views

Temporary ng-model?

I have a table that displays SQL data. I'm trying to only allow the user to edit an entry within a row if that value already exists somewhere in that column. For example, if I tried to change the ...
Josue Espinosa's user avatar
1 vote
2 answers
2k views

Issue with ng-model and ng-repeat, duplicate forms

I have a page where multiple forms are created based on ng-repeat. Everything works fine until write something into the input and everything gets duplicated on all the other repeated forms input ...
AngryJS's user avatar
  • 955
0 votes
1 answer
3k views

Issue with ng-model and ng-repeat, input value is duplicated on each form field on the page

I have a page where multiple forms are created based on ng-repeat. everything works fine until write something into the input and everything gets duplicated on all the other repeated forms input ...
AngryJS's user avatar
  • 955