AngularJS. When select have ng-model attribute, ng-selected not working
问题 I\'m trying to set ng-selected in my option element, selected attribute is set to true , but option not selected, When I remove ng-model from select all become working. The question : How to make option selected, when I\'m using the model? Here is my plunker ( selected not working here) My code: var app = angular.module(\"plunker\", []); app.controller(\"TestController\", [\"$scope\", function($scope) { $scope.test = 1; $scope.array = [ {\"id\": 1, \"name\": \"first\"}, {\"id\": 2, \"name\":