Skip to main content

All Questions

Filter by
Sorted by
Tagged with
-1 votes
1 answer
31 views

i want to get the value of ng-value in ng-model so i can use the data in controller part. Is it possible or is there any other way?

Code in html <div ng-repeat="cityobj in cityData" class="tabledata"> <input type="text" ng-value="{{cityobj.temp.humidity}}" ng-model="humidity"> <div> In ...
Anuj Kumar Pal's user avatar
0 votes
2 answers
91 views

How to use both ng-value and ng-class without duplication?

I have an input which uses ng-value with a filter to display a number. <input ng-value="myDataCollection | customFilter"> I want to also apply ng-class to change the text colour to red if ...
user1107685's user avatar
1 vote
3 answers
2k views

how to use ng-init with ng-repeat

I am creating a web app in which i am using dropdown and angularjs for updating my database, this is my syntax of my dropdownlist <select ng-model="ucomname" ng-change="uucomname(o)"> &...
user avatar
0 votes
1 answer
717 views

ng-repeat radio button 2-way binding issue, only last item set correctly

I am using angularjs to repeat radio button groups with the following code. <div class="row observation-point" ng-repeat="observationPoint in question.observationPointList"> &...
TomDoes's user avatar
  • 284