{"action":"created","issue":{"url":"https://api.github.com/repos/krescruz/angular-materialize/issues/162","repository_url":"https://api.github.com/repos/krescruz/angular-materialize","labels_url":"https://api.github.com/repos/krescruz/angular-materialize/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/krescruz/angular-materialize/issues/162/comments","events_url":"https://api.github.com/repos/krescruz/angular-materialize/issues/162/events","html_url":"https://github.com/krescruz/angular-materialize/issues/162","id":159778429,"number":162,"title":"tabs directive does not work when tab content is loaded dynamically","user":{"login":"akosbordas","id":6512073,"avatar_url":"https://avatars.githubusercontent.com/u/6512073?v=3","gravatar_id":"","url":"https://api.github.com/users/akosbordas","html_url":"https://github.com/akosbordas","followers_url":"https://api.github.com/users/akosbordas/followers","following_url":"https://api.github.com/users/akosbordas/following{/other_user}","gists_url":"https://api.github.com/users/akosbordas/gists{/gist_id}","starred_url":"https://api.github.com/users/akosbordas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akosbordas/subscriptions","organizations_url":"https://api.github.com/users/akosbordas/orgs","repos_url":"https://api.github.com/users/akosbordas/repos","events_url":"https://api.github.com/users/akosbordas/events{/privacy}","received_events_url":"https://api.github.com/users/akosbordas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-11T15:23:05Z","updated_at":"2016-06-17T16:52:14Z","closed_at":"2016-06-17T16:52:14Z","body":"When you try to use ng-include to load tab content you can run into a strange bug. If ng-include loads the content later than the tabs have been initialized then multiple tab content can be visible for the first time when the page appears. It can happen with any other dynamic content loading. \r\nI investigated a bit the possible solutions. I suggest to add a 'reload' property to the directive which can be triggered from outside. So that it is possible to reload the tabs again when the sub-pages are ready.\r\n\r\nPs.: maybe it would be a better solution to make available the jQuery's tabs API, but the guys from materialize have overridden the original function, so it has limited possibilities."},"comment":{"url":"https://api.github.com/repos/krescruz/angular-materialize/issues/comments/226822049","html_url":"https://github.com/krescruz/angular-materialize/issues/162#issuecomment-226822049","issue_url":"https://api.github.com/repos/krescruz/angular-materialize/issues/162","id":226822049,"user":{"login":"webbiesdk","id":868540,"avatar_url":"https://avatars.githubusercontent.com/u/868540?v=3","gravatar_id":"","url":"https://api.github.com/users/webbiesdk","html_url":"https://github.com/webbiesdk","followers_url":"https://api.github.com/users/webbiesdk/followers","following_url":"https://api.github.com/users/webbiesdk/following{/other_user}","gists_url":"https://api.github.com/users/webbiesdk/gists{/gist_id}","starred_url":"https://api.github.com/users/webbiesdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webbiesdk/subscriptions","organizations_url":"https://api.github.com/users/webbiesdk/orgs","repos_url":"https://api.github.com/users/webbiesdk/repos","events_url":"https://api.github.com/users/webbiesdk/events{/privacy}","received_events_url":"https://api.github.com/users/webbiesdk/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T16:52:14Z","updated_at":"2016-06-17T16:52:14Z","body":"Fixed by #163, right? "}}
{"actor":{"display_login":"webbiesdk"}}