@Rudhra wrote:
Im using ionic to develop an app.Here Im trying to cascade drop-down box and list, so that when an option is selected from drop-down the list will display options related to the selection made in the drop-down. Here Im not getting the options in the drop-down as well as in list so can anyone explain what has to be done and what is the mistake?
carService.controller('carBrand',['$scope',function($scope){
//$scope.sample="Inside the cartype ctrl";$scope.brandList=[
{'name':'Benz', 'types':['SUV', 'Sedan']},
{'name':'BMW', 'types':['SUV', 'Sedan', 'Van']}
];$scope.home = function () {
window.location="#/menu.html";
};$scope.addEntry=function(){
window.location="#/carEdit.html";
};
}]);I have tried many methods to achieve it but couldn't get success please do help me to find the correct answer.
Posts: 1
Participants: 1