![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Not able to get the value of radio select setting dynamically in AngularJS
To get the value of radio select, add [$index] to each ng-model like the following:
<td><input type = "radio" ng-model = "classes.satisfies[$index]" value = "Country1"> India</td> <td><input type = "radio" ng-model = "classes.satisfies[$index]" value = "Country 2"> US</td>
The above would give you the result dynamically in AngularJS.
Advertisements