{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui-tree/angular-ui-tree/issues/425","labels_url":"https://api.github.com/repos/angular-ui-tree/angular-ui-tree/issues/425/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui-tree/angular-ui-tree/issues/425/comments","events_url":"https://api.github.com/repos/angular-ui-tree/angular-ui-tree/issues/425/events","html_url":"https://github.com/angular-ui-tree/angular-ui-tree/issues/425","id":66632886,"number":425,"title":"Angular directive does not work when $compileProvider.debugInfoEnabled(false);","user":{"login":"jsfrocha","id":3720176,"avatar_url":"https://avatars.githubusercontent.com/u/3720176?v=3","gravatar_id":"","url":"https://api.github.com/users/jsfrocha","html_url":"https://github.com/jsfrocha","followers_url":"https://api.github.com/users/jsfrocha/followers","following_url":"https://api.github.com/users/jsfrocha/following{/other_user}","gists_url":"https://api.github.com/users/jsfrocha/gists{/gist_id}","starred_url":"https://api.github.com/users/jsfrocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsfrocha/subscriptions","organizations_url":"https://api.github.com/users/jsfrocha/orgs","repos_url":"https://api.github.com/users/jsfrocha/repos","events_url":"https://api.github.com/users/jsfrocha/events{/privacy}","received_events_url":"https://api.github.com/users/jsfrocha/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui-tree/angular-ui-tree/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-04-06T15:35:46Z","updated_at":"2015-10-12T14:43:20Z","closed_at":null,"body":"Angular developers recommend turning off debug info to speed up angular apps in production environments. Consequence of this action is that scope() functions stops working, because scope() functions are intended to be used only for development (and batarang extension). However, the angular-ui-tree directive drag and drop methods (which is where I experienced problems - simply stops working) depends heavily on scope() functions, so in production environments angular directive does not work.\r\n\r\nHere is the official document stating these facts https://docs.angularjs.org/guide/production\r\n\r\nTo reproduce simply add `$compileProvider.debugInfoEnabled(false)` on the config method of the AngularJS Application. (Remember to inject `$compileProvider` into it)\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/angular-ui-tree/angular-ui-tree/issues/comments/147418627","html_url":"https://github.com/angular-ui-tree/angular-ui-tree/issues/425#issuecomment-147418627","issue_url":"https://api.github.com/repos/angular-ui-tree/angular-ui-tree/issues/425","id":147418627,"user":{"login":"homerjam","id":1055769,"avatar_url":"https://avatars.githubusercontent.com/u/1055769?v=3","gravatar_id":"","url":"https://api.github.com/users/homerjam","html_url":"https://github.com/homerjam","followers_url":"https://api.github.com/users/homerjam/followers","following_url":"https://api.github.com/users/homerjam/following{/other_user}","gists_url":"https://api.github.com/users/homerjam/gists{/gist_id}","starred_url":"https://api.github.com/users/homerjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homerjam/subscriptions","organizations_url":"https://api.github.com/users/homerjam/orgs","repos_url":"https://api.github.com/users/homerjam/repos","events_url":"https://api.github.com/users/homerjam/events{/privacy}","received_events_url":"https://api.github.com/users/homerjam/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T14:43:20Z","updated_at":"2015-10-12T14:43:20Z","body":"+1"}}