how to bind default value to select using ng-model using AngularJS V1.6

前端 未结 3 771
[愿得一人]
[愿得一人] 2021-01-21 16:58

    
    
    
 

Controller

app.controller('SelectedTextController', function ($scope) {
    $scope.selectedItem = "All Items";
    $scope.getSelectedText = function () {
        var selectedItem=this.selectedItem;
    };       
});

提交回复
热议问题