{"action":"opened","issue":{"url":"https://api.github.com/repos/jtblin/angular-chart.js/issues/153","labels_url":"https://api.github.com/repos/jtblin/angular-chart.js/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/jtblin/angular-chart.js/issues/153/comments","events_url":"https://api.github.com/repos/jtblin/angular-chart.js/issues/153/events","html_url":"https://github.com/jtblin/angular-chart.js/issues/153","id":95434888,"number":153,"title":"Chart fails to render with ng-show/ng-hide in a parent tag","user":{"login":"DigiBanks99","id":235971,"avatar_url":"https://avatars.githubusercontent.com/u/235971?v=3","gravatar_id":"","url":"https://api.github.com/users/DigiBanks99","html_url":"https://github.com/DigiBanks99","followers_url":"https://api.github.com/users/DigiBanks99/followers","following_url":"https://api.github.com/users/DigiBanks99/following{/other_user}","gists_url":"https://api.github.com/users/DigiBanks99/gists{/gist_id}","starred_url":"https://api.github.com/users/DigiBanks99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DigiBanks99/subscriptions","organizations_url":"https://api.github.com/users/DigiBanks99/orgs","repos_url":"https://api.github.com/users/DigiBanks99/repos","events_url":"https://api.github.com/users/DigiBanks99/events{/privacy}","received_events_url":"https://api.github.com/users/DigiBanks99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-16T13:37:51Z","updated_at":"2015-07-16T13:37:51Z","closed_at":null,"body":"Hi\r\n\r\nI am using your wonderful directive for a large amount of data being retrieved from a remote source.\r\nSo while I am loading the data, I am displaying a different tag and only when the $scope.loading variable is true, do I show the chart.\r\n\r\nHowever, when using the <b>canvas</b> tag inside a <code>&lt;div ng-hide=\"loading\"&gt;<br/>&lt;chart ...&gt;&lt;/chart<br/>&gt;&lt;/div&gt;</code>, the chart does not render.\r\n\r\nI have added a JS Bin link:\r\nhttp://jsbin.com/cunuya/edit?html,js,output\r\n\r\nThanks!"}}