{"action":"created","issue":{"url":"https://api.github.com/repos/n3-charts/line-chart/issues/372","labels_url":"https://api.github.com/repos/n3-charts/line-chart/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/n3-charts/line-chart/issues/372/comments","events_url":"https://api.github.com/repos/n3-charts/line-chart/issues/372/events","html_url":"https://github.com/n3-charts/line-chart/issues/372","id":115984345,"number":372,"title":"$rootScope:infdig error in FF 31","user":{"login":"bertomaniac","id":10235051,"avatar_url":"https://avatars.githubusercontent.com/u/10235051?v=3","gravatar_id":"","url":"https://api.github.com/users/bertomaniac","html_url":"https://github.com/bertomaniac","followers_url":"https://api.github.com/users/bertomaniac/followers","following_url":"https://api.github.com/users/bertomaniac/following{/other_user}","gists_url":"https://api.github.com/users/bertomaniac/gists{/gist_id}","starred_url":"https://api.github.com/users/bertomaniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertomaniac/subscriptions","organizations_url":"https://api.github.com/users/bertomaniac/orgs","repos_url":"https://api.github.com/users/bertomaniac/repos","events_url":"https://api.github.com/users/bertomaniac/events{/privacy}","received_events_url":"https://api.github.com/users/bertomaniac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-09T22:42:31Z","updated_at":"2015-11-24T10:53:03Z","closed_at":null,"body":"This error appears in FF 31 and could appear in older browsers as well. I tracked it down to how the options are being built/sanitized.  I believe there needs to be an `angular.copy(options)` before the options get passed in to be sanitized.  At the moment, changing the `options` object in place within `sanitizeOptions()` triggers additional $watchers to fire.\r\n\r\nShould be easy enough to add `options = angular.copy(scope.options)` and then pass this into `_u.sanitizeOptions(options, attrs.mode)`"},"comment":{"url":"https://api.github.com/repos/n3-charts/line-chart/issues/comments/159228438","html_url":"https://github.com/n3-charts/line-chart/issues/372#issuecomment-159228438","issue_url":"https://api.github.com/repos/n3-charts/line-chart/issues/372","id":159228438,"user":{"login":"pihomeserver","id":3817578,"avatar_url":"https://avatars.githubusercontent.com/u/3817578?v=3","gravatar_id":"","url":"https://api.github.com/users/pihomeserver","html_url":"https://github.com/pihomeserver","followers_url":"https://api.github.com/users/pihomeserver/followers","following_url":"https://api.github.com/users/pihomeserver/following{/other_user}","gists_url":"https://api.github.com/users/pihomeserver/gists{/gist_id}","starred_url":"https://api.github.com/users/pihomeserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pihomeserver/subscriptions","organizations_url":"https://api.github.com/users/pihomeserver/orgs","repos_url":"https://api.github.com/users/pihomeserver/repos","events_url":"https://api.github.com/users/pihomeserver/events{/privacy}","received_events_url":"https://api.github.com/users/pihomeserver/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T10:53:03Z","updated_at":"2015-11-24T10:53:03Z","body":"+1 ! Helped me to fix my errors in Chrome and FF (not in Safari)\r\n\r\nThx @bertomaniac !"}}