{"action":"created","issue":{"url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/100","repository_url":"https://api.github.com/repos/leocaseiro/angular-chosen","labels_url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/100/comments","events_url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/100/events","html_url":"https://github.com/leocaseiro/angular-chosen/issues/100","id":57555644,"number":100,"title":"The option cannot be selected correctly while the ng-model is not a object","user":{"login":"edisonh","id":2259361,"avatar_url":"https://avatars.githubusercontent.com/u/2259361?v=3","gravatar_id":"","url":"https://api.github.com/users/edisonh","html_url":"https://github.com/edisonh","followers_url":"https://api.github.com/users/edisonh/followers","following_url":"https://api.github.com/users/edisonh/following{/other_user}","gists_url":"https://api.github.com/users/edisonh/gists{/gist_id}","starred_url":"https://api.github.com/users/edisonh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edisonh/subscriptions","organizations_url":"https://api.github.com/users/edisonh/orgs","repos_url":"https://api.github.com/users/edisonh/repos","events_url":"https://api.github.com/users/edisonh/events{/privacy}","received_events_url":"https://api.github.com/users/edisonh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-13T03:43:57Z","updated_at":"2016-03-10T12:47:37Z","closed_at":"2016-03-10T12:47:37Z","body":"````html\r\n<select chosen ng-model=\"item\">\r\n    <option value=\"option1\">option1</option>\r\n    <option value=\"option1\">option2</option>\r\n</select>\r\n````\r\n\r\n````javascript\r\n$scope.item = \"option1\";\r\n````\r\n\r\n\r\n\r\nAnd I fixed by setting the config 'terminal' to 'false' (or deleting it) in the directive code.\r\n\r\n````javascript\r\nterminal: true // delete line 36\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/comments/194828049","html_url":"https://github.com/leocaseiro/angular-chosen/issues/100#issuecomment-194828049","issue_url":"https://api.github.com/repos/leocaseiro/angular-chosen/issues/100","id":194828049,"user":{"login":"leocaseiro","id":940070,"avatar_url":"https://avatars.githubusercontent.com/u/940070?v=3","gravatar_id":"","url":"https://api.github.com/users/leocaseiro","html_url":"https://github.com/leocaseiro","followers_url":"https://api.github.com/users/leocaseiro/followers","following_url":"https://api.github.com/users/leocaseiro/following{/other_user}","gists_url":"https://api.github.com/users/leocaseiro/gists{/gist_id}","starred_url":"https://api.github.com/users/leocaseiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leocaseiro/subscriptions","organizations_url":"https://api.github.com/users/leocaseiro/orgs","repos_url":"https://api.github.com/users/leocaseiro/repos","events_url":"https://api.github.com/users/leocaseiro/events{/privacy}","received_events_url":"https://api.github.com/users/leocaseiro/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T12:47:37Z","updated_at":"2016-03-10T12:47:37Z","body":"As you can se in the docs, Angular Chosen works better with `ngOptions` and `ngModel`, avoid using `ng-repeat`.\r\n\r\nPS: We removed terminal on PR #157 "}}