{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/10669","labels_url":"https://api.github.com/repos/angular/angular.js/issues/10669/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/10669/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/10669/events","html_url":"https://github.com/angular/angular.js/issues/10669","id":53627931,"number":10669,"title":"Bug in Angular 1.2.28? Using ng-options on a HTML select tag, produces not selectable last option element.","user":{"login":"roelvanlisdonk","id":4577744,"avatar_url":"https://avatars.githubusercontent.com/u/4577744?v=3","gravatar_id":"","url":"https://api.github.com/users/roelvanlisdonk","html_url":"https://github.com/roelvanlisdonk","followers_url":"https://api.github.com/users/roelvanlisdonk/followers","following_url":"https://api.github.com/users/roelvanlisdonk/following{/other_user}","gists_url":"https://api.github.com/users/roelvanlisdonk/gists{/gist_id}","starred_url":"https://api.github.com/users/roelvanlisdonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roelvanlisdonk/subscriptions","organizations_url":"https://api.github.com/users/roelvanlisdonk/orgs","repos_url":"https://api.github.com/users/roelvanlisdonk/repos","events_url":"https://api.github.com/users/roelvanlisdonk/events{/privacy}","received_events_url":"https://api.github.com/users/roelvanlisdonk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular.js/labels/branch:%201.2.x","name":"branch: 1.2.x","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular.js/labels/component:%20forms","name":"component: forms","color":"7B947B"},{"url":"https://api.github.com/repos/angular/angular.js/labels/frequency:%20low","name":"frequency: low","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular.js/labels/severity:%20broken%20expected%20use","name":"severity: broken expected use","color":"fbda00"},{"url":"https://api.github.com/repos/angular/angular.js/labels/type:%20bug","name":"type: bug","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/27","html_url":"https://github.com/angular/angular.js/milestones/Backlog","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/27/labels","id":489171,"number":27,"title":"Backlog","description":"Holds the backlog of issues and pull requests that have been triaged.\r\n\r\nBefore assigning items to this milestone they should be labelled, at the very least with the correct \"type\" label (i.e. \"issue\", \"pr\", \"bug\", \"regression\", \"chore\", \"docs\", etc).  Preferably you should also check for duplicate issues/PRs, note CLA status and assign \"complexity\" and \"impact\" labels too.","creator":{"login":"IgorMinar","id":216296,"avatar_url":"https://avatars.githubusercontent.com/u/216296?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"open_issues":718,"closed_issues":806,"state":"open","created_at":"2013-11-18T23:30:35Z","updated_at":"2015-03-23T22:17:13Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-01-07T12:34:08Z","updated_at":"2015-03-25T08:11:04Z","closed_at":null,"body":"If have created a plunker to demonstrate the problem:\r\nhttp://plnkr.co/edit/ndTQmTftKcwn7emBx84w?p=preview\r\n\r\nFirst: \r\nCreate a HTML select tag, like:\r\n\r\n<code>\r\n&lt;select ng-model=\"module.reason\" ng-options=\"reason for reason in resources.reasons\" required&gt;&lt;/select&gt;\r\n</code>\r\n\r\nCreate a controller like:\r\n<code>\r\n            var controller = function ($scope)\r\n            {\r\n                $scope.title = \"\";\r\n\r\n                $scope.module = {\r\n                    reason: null\r\n                };\r\n\r\n                $scope.resources = {\r\n                    reasons: [\r\n                        \"Reason 1\",\r\n                        \"Reason 2\",\r\n                        \"Reason 3\",\r\n                        \"Reason 4\"\r\n                    ]\r\n                };\r\n            };\r\n</code>\r\n\r\nNow when you run the page, immediately select the last option (in this case \"Reason 4\").\r\n\r\nNo option will be selected, the select tag will be empty, when you select an other option like \"Reason 2\" and then select the \"Reason 4\" option, it will be selected, but  when you change the selection back to the empty selection and then select the \"Reason 4\" option, it will be empty again. \r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular.js/issues/comments/85909722","html_url":"https://github.com/angular/angular.js/issues/10669#issuecomment-85909722","issue_url":"https://api.github.com/repos/angular/angular.js/issues/10669","id":85909722,"user":{"login":"cuipengfei","id":1311541,"avatar_url":"https://avatars.githubusercontent.com/u/1311541?v=3","gravatar_id":"","url":"https://api.github.com/users/cuipengfei","html_url":"https://github.com/cuipengfei","followers_url":"https://api.github.com/users/cuipengfei/followers","following_url":"https://api.github.com/users/cuipengfei/following{/other_user}","gists_url":"https://api.github.com/users/cuipengfei/gists{/gist_id}","starred_url":"https://api.github.com/users/cuipengfei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuipengfei/subscriptions","organizations_url":"https://api.github.com/users/cuipengfei/orgs","repos_url":"https://api.github.com/users/cuipengfei/repos","events_url":"https://api.github.com/users/cuipengfei/events{/privacy}","received_events_url":"https://api.github.com/users/cuipengfei/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T08:11:04Z","updated_at":"2015-03-25T08:11:04Z","body":"@dhwang thanks, this workaround worked for me"}}