ng-options angularjs example
<select ng-options="item.subItem as item.label for item in items track by item.id" ng-model="selected"></select>
ng-options angularjs example
<select ng-options="item.subItem as item.label for item in items track by item.id" ng-model="selected"></select>
angularjs ng-options name value
angular.forEach($scope.banklist_list, function(value) {
if(value.bank_id == $scope.pay_advance.bank_id){
$scope.bank_name = value.bank_name;
}
});
//$scope.banklist_list =>is array
//$scope.pay_advance.bank_id=> ng-model
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us