{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-grid/issues/4104","labels_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/4104/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/4104/comments","events_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/4104/events","html_url":"https://github.com/angular-ui/ui-grid/issues/4104","id":98730678,"number":4104,"title":"sorting menu item shown {{ name }} ","user":{"login":"paymok","id":1615590,"avatar_url":"https://avatars.githubusercontent.com/u/1615590?v=3","gravatar_id":"","url":"https://api.github.com/users/paymok","html_url":"https://github.com/paymok","followers_url":"https://api.github.com/users/paymok/followers","following_url":"https://api.github.com/users/paymok/following{/other_user}","gists_url":"https://api.github.com/users/paymok/gists{/gist_id}","starred_url":"https://api.github.com/users/paymok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paymok/subscriptions","organizations_url":"https://api.github.com/users/paymok/orgs","repos_url":"https://api.github.com/users/paymok/repos","events_url":"https://api.github.com/users/paymok/events{/privacy}","received_events_url":"https://api.github.com/users/paymok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T12:11:28Z","updated_at":"2015-08-05T06:32:42Z","closed_at":null,"body":"I have followed the tutorial and create a simple ui-grid in a blank page. Everything works fine except when I click the sort menu inside the column, all the sorting options become {{ name }}, looks like angular couldn't translate the variable to proper text? Am i missing anything? \r\n\r\n![image](https://cloud.githubusercontent.com/assets/1615590/9037125/8466dcac-3a1a-11e5-8b9d-6c0a468adbb0.png)\r\nThis is whats happening in my local project\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1615590/9037264/29869e10-3a1c-11e5-9d18-fec08eb6c0dd.png)\r\nSuppose i should see something like this \r\n\r\n\r\nAlso not sure if this is the root cause of causing , I am getting these error when the table loaded up. the same errors occur when i click and expand the row record.\r\nI am using AngularJS v1.2.16, latest stable release UI-grid (3.0), Require.js to manage the dependency and disabled the angular-animate (not sure if this is related). \r\n\r\n<i>\r\nError: Element \"LI\" does not have either property: href, src, action, cite\r\n    at Error (native)\r\n    at d.fn.uri (http://localhost:8080/test-module/assets/plugins/uri/jquery.URI.min.js:6:72)\r\n    at Object.r [as set] (http://localhost:8080/test-module/assets/plugins/uri/jquery.URI.min.js:5:329)\r\n    at Function.n.extend.attr (http://localhost:8080/test-module/assets/plugins/jquery-1.11.0.min.js:4:10684)\r\n    at e.attr (http://localhost:8080/test-module/assets/plugins/jquery-migrate-1.2.1.min.js:2:1892)\r\n    at n.access (http://localhost:8080/test-module/assets/plugins/jquery-1.11.0.min.js:3:2985)\r\n    at n.fn.extend.attr (http://localhost:8080/test-module/assets/plugins/jquery-1.11.0.min.js:4:10224)\r\n    at Object.Hb.$set (http://localhost:8080/test-module/assets/plugins/angular/angular.min.js:64:210)\r\n    at http://localhost:8080/test-module/assets/plugins/angular/angular.min.js:57:423\r\n    at q (http://localhost:8080/test-module/assets/plugins/angular/angular.min.js:7:386)(anonymous function) @ assets/plugins/angular/angular.min.js:89\r\n </i>\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-grid/issues/comments/127889395","html_url":"https://github.com/angular-ui/ui-grid/issues/4104#issuecomment-127889395","issue_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/4104","id":127889395,"user":{"login":"paymok","id":1615590,"avatar_url":"https://avatars.githubusercontent.com/u/1615590?v=3","gravatar_id":"","url":"https://api.github.com/users/paymok","html_url":"https://github.com/paymok","followers_url":"https://api.github.com/users/paymok/followers","following_url":"https://api.github.com/users/paymok/following{/other_user}","gists_url":"https://api.github.com/users/paymok/gists{/gist_id}","starred_url":"https://api.github.com/users/paymok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paymok/subscriptions","organizations_url":"https://api.github.com/users/paymok/orgs","repos_url":"https://api.github.com/users/paymok/repos","events_url":"https://api.github.com/users/paymok/events{/privacy}","received_events_url":"https://api.github.com/users/paymok/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T06:32:42Z","updated_at":"2015-08-05T06:32:42Z","body":"OK i have resolved this problem. This is due to some incompatibility between jquery.uri.js and ui-grid.\r\n\r\nIn JQuery.uri.js, when any element contains attr [src', 'href', 'action', 'uri', 'cite'], it will append a hock to the element and do something else ( I didn't dig deep to see what's it is actually doing, but this is the root cause why jquery.uri.js throwing error).\r\n![image](https://cloud.githubusercontent.com/assets/1615590/9079585/630ece1a-3b7e-11e5-84e6-3a60f3ecc44a.png)\r\n\r\nIn ui-grid, li.ui-grid-menu-item, in  $templateCache.put('ui-grid/uiGridMenu', ... \r\nthere is a LI element which contains an action attribute, which i think this is a syntax error for html standard where li should not have action attribute and action should be a reserved attribute,  although  I understand its a directive, and you get the right to name/create whatever attribute you want to the element. \r\n\r\n![image](https://cloud.githubusercontent.com/assets/1615590/9079579/4f899906-3b7e-11e5-8eaf-5ba90db7ad59.png)\r\n\r\nAnyway, jquey.uri.js mistakenly think li element action is a URI base element, and add the hook and try to do blah blah blah until it hits the problem, li shouldn't have 'action' attribute.\r\n\r\nI think someone should make some changes in ui-grid to avoid using reserved attribute name in to create a directive element. \r\n\r\nIn my case, after i removed the jquery.uri.js reference, everything works fine. "}}