I am using drop down which should display list in my object using ng-option. I am getting list of four items in drop down,I am not able to see items in drop down
<select class="" ng-model="vendor.termMaster.termTypeMaster.id" ng-options="t.id as t.terms for t in fetchTermTypeList">
<option value="">-- Please select --</option>
above is html code sample what I have done.
$scope.fetchTermType= function(){
vendorsList_Service.fetchTermType().then(function(response){
$scope.fetchTermTypeList=response.data;
console.log($scope.fetchTermTypeList);
$(".loader").fadeOut("slow");
},function(response){
$(".loader").fadeOut("slow");
});
};
$scope.fetchTermType();
This is my controller