您可以按以下方式执行此操作:
HTML
<div ng-app="myApp" ng-controller="BookingCtrl">
<select ng-model="selected.Type" ng-options="s.Type for s in data">
<option value="">-- Type --</option>
</select>
<select ng-model="selected.Books" ng-options="b.Books for b in selected.Type.Books">
<option value="">-- Books --</option>
</select>
<select ng-model="selected.c" ng-options="f.c for f in selected.Type.cat">
<option value="">-- Category --</option>
</select>
</div>
JS
var myApp = angular.module( 'myApp', [] );
myApp.controller( 'BookingCtrl', ['$scope', '$location', function ( $scope, $location ) {
$scope.selected = {};
$scope.data = [
{
"id" : "0",
"Type" : "Study",
"Books" : [
{ "Books" : "Study Book 1" },
{ "Books" : "Study Book 2" },
{ "Books" : "Study Book 3" }
],
"cat" : [
{ "c" : "#1" },
{ "c" : "#2" },
{ "c" : "#3" }
]
},{
"id" : "1",
"Type" : "General",
"Books" : [
{ "Books" : "Book14" },
{ "Books" : "Book15" },
{ "Books" : "Book16" }
],
"cat" : [
{ "c" : "#4" },
{ "c" : "#5" },
{ "c" : "#6" }
]
}
];
}]);
看看这个小提琴,
http://jsfiddle.net/PXwrf/2/