{"action":"opened","issue":{"url":"https://api.github.com/repos/pablojim/highcharts-ng/issues/384","labels_url":"https://api.github.com/repos/pablojim/highcharts-ng/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/pablojim/highcharts-ng/issues/384/comments","events_url":"https://api.github.com/repos/pablojim/highcharts-ng/issues/384/events","html_url":"https://github.com/pablojim/highcharts-ng/issues/384","id":108597343,"number":384,"title":"Where to put the chart config in a directive?","user":{"login":"riyunoa","id":7495299,"avatar_url":"https://avatars.githubusercontent.com/u/7495299?v=3","gravatar_id":"","url":"https://api.github.com/users/riyunoa","html_url":"https://github.com/riyunoa","followers_url":"https://api.github.com/users/riyunoa/followers","following_url":"https://api.github.com/users/riyunoa/following{/other_user}","gists_url":"https://api.github.com/users/riyunoa/gists{/gist_id}","starred_url":"https://api.github.com/users/riyunoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riyunoa/subscriptions","organizations_url":"https://api.github.com/users/riyunoa/orgs","repos_url":"https://api.github.com/users/riyunoa/repos","events_url":"https://api.github.com/users/riyunoa/events{/privacy}","received_events_url":"https://api.github.com/users/riyunoa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-28T06:37:50Z","updated_at":"2015-09-28T06:37:50Z","closed_at":null,"body":"I've tried putting the config in the \"link\" function of the directive but it doesn't work. When I put it in \"controller\", it works. Why is this? Thanks in advance!"}}