Nested Dropdown- ng-options inside ng-repeat in angularjs
问题 I wants to catch parent name and id on child selection. Output should be: $scope.selected = [{"name": "Request1", "id":1, "status":[{"name":"status1","isSelected":true}, {"name":"status2","isSelected":false}] }] Able to get selected child but respective parent not getting. // Code goes here var app = angular.module('demo', []); app.controller('myController', function($scope){ $scope.requests=[{"name": "Request1", "id":1}, {"name": "Request2", "id":2},{"name": "Request3", "id":3} ]; $scope