{"action":"closed","issue":{"url":"https://api.github.com/repos/Swimlane/angular-data-table/issues/113","labels_url":"https://api.github.com/repos/Swimlane/angular-data-table/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/Swimlane/angular-data-table/issues/113/comments","events_url":"https://api.github.com/repos/Swimlane/angular-data-table/issues/113/events","html_url":"https://github.com/Swimlane/angular-data-table/issues/113","id":122141882,"number":113,"title":"Embedding within custom directive","user":{"login":"pan-henryk","id":3035862,"avatar_url":"https://avatars.githubusercontent.com/u/3035862?v=3","gravatar_id":"","url":"https://api.github.com/users/pan-henryk","html_url":"https://github.com/pan-henryk","followers_url":"https://api.github.com/users/pan-henryk/followers","following_url":"https://api.github.com/users/pan-henryk/following{/other_user}","gists_url":"https://api.github.com/users/pan-henryk/gists{/gist_id}","starred_url":"https://api.github.com/users/pan-henryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pan-henryk/subscriptions","organizations_url":"https://api.github.com/users/pan-henryk/orgs","repos_url":"https://api.github.com/users/pan-henryk/repos","events_url":"https://api.github.com/users/pan-henryk/events{/privacy}","received_events_url":"https://api.github.com/users/pan-henryk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-14T22:04:05Z","updated_at":"2015-12-30T14:06:35Z","closed_at":"2015-12-30T14:06:35Z","body":"I am trying to embed data-table within my own custom directive. It works fine, if options are declared in controller (one set for table instances, which are spawned dynamically). Unfortunately data table does not allow to declare them within link function of the directive (it's too late for its lifecycle). What's the best way to do it?"}}