{"action":"closed","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5970","repository_url":"https://api.github.com/repos/angular-ui/bootstrap","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5970/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5970/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5970/events","html_url":"https://github.com/angular-ui/bootstrap/issues/5970","id":158909484,"number":5970,"title":"Parse error when using variables in typeahead-editable","user":{"login":"Fossil01","id":8832687,"avatar_url":"https://avatars.githubusercontent.com/u/8832687?v=3","gravatar_id":"","url":"https://api.github.com/users/Fossil01","html_url":"https://github.com/Fossil01","followers_url":"https://api.github.com/users/Fossil01/followers","following_url":"https://api.github.com/users/Fossil01/following{/other_user}","gists_url":"https://api.github.com/users/Fossil01/gists{/gist_id}","starred_url":"https://api.github.com/users/Fossil01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fossil01/subscriptions","organizations_url":"https://api.github.com/users/Fossil01/orgs","repos_url":"https://api.github.com/users/Fossil01/repos","events_url":"https://api.github.com/users/Fossil01/events{/privacy}","received_events_url":"https://api.github.com/users/Fossil01/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/needs:%20info","name":"needs: info","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-06-07T12:23:18Z","updated_at":"2016-06-07T13:06:19Z","closed_at":"2016-06-07T13:06:19Z","body":"### Bug description:\r\n\r\nMy Angular tags are <% and %>. Which works fine everywhere.\r\n\r\nWhenever I do the following:\r\n\r\n```html \r\n<input ng-model=\"flight.number\" name=\"number\" type=\"text\"  uib-typeahead=\"flight for flight in\r\nflightnumbers | filter:$viewValue | limitTo:16\" typeahead-editable=\"<% isTypeaheadEditable %>\"\r\ntypeahead-select-on-blur=\"true\" typeahead-select-on-exact=\"true\"\r\ntypeahead-on-select=\"onSelect($item, $model, $label)\" placeholder=\"KL0000\"\r\nclass=\"form-control input-md\" ng-minlength=\"4\" ng-required=\"true\">\r\n```\r\n\r\nI get this error message in the console:\r\nhttps://docs.angularjs.org/error/$parse/syntax?p0=%3C&p1=not%20a%20primary%20expression&p2=1&p3=%3C%25%20isTypeaheadEditable%20%25%3E&p4=%3C%25%20isTypeaheadEditable%20%25%3E\r\n\r\nWhenever I use the typeahead-editable=\"<% isTypeaheadEditable %>\"  on any other HTML element it works fine. I can echo the value true or false using just <% isTypeaheadEditable %> in a <span> element for example.\r\n\r\nThe code in the controller which does true/false:\r\n\r\n```js\r\n\t$scope.isTypeaheadEditable = false;\r\n  \t$scope.activeButton = function() {\r\n    \t$scope.isTypeaheadEditable = !$scope.isTypeaheadEditable;\r\n  } \r\n```\r\n\r\n### Version of Angular, UIBS, and Bootstrap\r\n\r\nAngular: 1.4.7 (Also tried latest)\r\nUIBS: 0.4.12 (Also tried latest)\r\nBootstrap: 3.3.4\r\n\r\n\r\n"}}
{"actor":{"display_login":"pkozlowski-opensource"}}