<select class="form-control" ng-model="filterFormInputs.apps"
ng-options="app.Application for app in d">
<option value="" disabled selected>Select an Application</option
</select>
I have the above code snippet somewhere in my index.html. And
in my corresponding controller I have
$scope.d = [{"Application": "app1", "details":[{"name":"name1"},{"name":"name2"},{"name":"name3"}]}, {"Application":"app2", "details":[{"name":"name4"},{"name":"name5"},{"name":"name6"}]}]
How do i make it such that when I select "app1" from the select form, I can populate a list of checkboxes with the corresponding "name" field" ? For example, if I select app1, I want three checkboxes with name1, name2, and name3 to appear. And if I select app2 from the select form, I want three checkboxes with app4, app5, and app6 to appear? using ng-repeat / ng-model