{"action":"created","issue":{"url":"https://api.github.com/repos/angular/batarang/issues/250","labels_url":"https://api.github.com/repos/angular/batarang/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/angular/batarang/issues/250/comments","events_url":"https://api.github.com/repos/angular/batarang/issues/250/events","html_url":"https://github.com/angular/batarang/issues/250","id":96807348,"number":250,"title":"Breaks my app","user":{"login":"dolzenko","id":43391,"avatar_url":"https://avatars.githubusercontent.com/u/43391?v=3","gravatar_id":"","url":"https://api.github.com/users/dolzenko","html_url":"https://github.com/dolzenko","followers_url":"https://api.github.com/users/dolzenko/followers","following_url":"https://api.github.com/users/dolzenko/following{/other_user}","gists_url":"https://api.github.com/users/dolzenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dolzenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolzenko/subscriptions","organizations_url":"https://api.github.com/users/dolzenko/orgs","repos_url":"https://api.github.com/users/dolzenko/repos","events_url":"https://api.github.com/users/dolzenko/events{/privacy}","received_events_url":"https://api.github.com/users/dolzenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-23T12:56:57Z","updated_at":"2015-08-01T14:40:57Z","closed_at":null,"body":"When installed it breaks my app with\r\n\r\n```\r\nError: [$parse:ueoe] Unexpected end of expression: audience.active?audience\r\nhttp://errors.angularjs.org/1.4.3/$parse/ueoe?p0=audience.active%3Faudience\r\n    at REGEX_STRING_REGEXP (http://localhost:3000/ui/assets/app.js:3179:12)\r\n    at Object.AST.consume (http://localhost:3000/ui/assets/app.js:15999:13)\r\n    at Object.AST.ternary (http://localhost:3000/ui/assets/app.js:15810:16)\r\n    at Object.AST.assignment (http://localhost:3000/ui/assets/app.js:15797:23)\r\n    at Object.AST.expression (http://localhost:3000/ui/assets/app.js:15793:17)\r\n    at Object.AST.filterChain (http://localhost:3000/ui/assets/app.js:15784:21)\r\n    at Object.AST.expressionStatement (http://localhost:3000/ui/assets/app.js:15780:62)\r\n    at Object.AST.program (http://localhost:3000/ui/assets/app.js:15772:24)\r\n    at Object.AST.ast (http://localhost:3000/ui/assets/app.js:15759:22)\r\n    at Object.ASTCompiler.compile (http://localhost:3000/ui/assets/app.js:16211:31) <a ng-class=\"audience.active ? 'label-success' : ''\" ng-bind=\"audience.active ? 'Active' : 'Inactive'\" ng-click=\"audience.active ? audience.deactivate() : audience.activate()\" ng-attr-title=\"Click to {{audience.active ? 'Pause' : 'Unpause'}}\" class=\"label label-default ng-binding\">\r\n```\r\n\r\nAll works fine if I uninstall the extension.  Also it seems particularly related to the `ng-click` clause in the above code, because when I remove that the error disappears too."},"comment":{"url":"https://api.github.com/repos/angular/batarang/issues/comments/126922480","html_url":"https://github.com/angular/batarang/issues/250#issuecomment-126922480","issue_url":"https://api.github.com/repos/angular/batarang/issues/250","id":126922480,"user":{"login":"jirkahronik","id":888150,"avatar_url":"https://avatars.githubusercontent.com/u/888150?v=3","gravatar_id":"","url":"https://api.github.com/users/jirkahronik","html_url":"https://github.com/jirkahronik","followers_url":"https://api.github.com/users/jirkahronik/followers","following_url":"https://api.github.com/users/jirkahronik/following{/other_user}","gists_url":"https://api.github.com/users/jirkahronik/gists{/gist_id}","starred_url":"https://api.github.com/users/jirkahronik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirkahronik/subscriptions","organizations_url":"https://api.github.com/users/jirkahronik/orgs","repos_url":"https://api.github.com/users/jirkahronik/repos","events_url":"https://api.github.com/users/jirkahronik/events{/privacy}","received_events_url":"https://api.github.com/users/jirkahronik/received_events","type":"User","site_admin":false},"created_at":"2015-08-01T14:40:57Z","updated_at":"2015-08-01T14:40:57Z","body":"I confirm Batarang has difficulties handling ternary operator in the ng-click directive.\r\nTo replicate the issue, use ng-table's demo page with Batarang on:\r\nhttp://ng-table.com/#/demo/5-8\r\n\r\nCouldn't you use the same expression parser as Angular itself?"}}